summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2020-03-03 12:12:43 +0000
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2021-06-07 11:26:44 +0100
commit4bd23792e88485c8fc2fee0988c5739c3fd53fbb (patch)
treef16573aee05ce62b76978135cdef054aeaf06de9
parent0f4008ecc5420fb1f1e3d1b50e93f24e492da155 (diff)
net: phylink: add mac PHY interface bitmap
Add a PHY interface bitmap for the MAC driver to specify which PHY interfaces are supported to phylink. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
-rw-r--r--include/linux/phylink.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/phylink.h b/include/linux/phylink.h
index d81a714cfbbd..d2874f815a47 100644
--- a/include/linux/phylink.h
+++ b/include/linux/phylink.h
@@ -74,6 +74,7 @@ struct phylink_config {
bool poll_fixed_state;
void (*get_fixed_state)(struct phylink_config *config,
struct phylink_link_state *state);
+ DECLARE_PHY_INTERFACE_MASK(supported_interfaces);
};
/**