summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2022-06-13 12:01:20 +0530
committerVignesh Raghavendra <vigneshr@ti.com>2022-06-14 20:39:19 +0530
commitb3ecb1f0373fe25e140f522a30b87a9c3b4cf4a8 (patch)
tree70d4e4499df3a87d3c4e7d1a1e268cd295ca1729 /include/linux
parent50dc7ad9dbb129ea6f1d5cb04b7c5b88b770c1e4 (diff)
net: phylink: add MAC phy_interface_t bitmap
commit 38c310eb46f5f80213a92093af11af270c209a76 upstream. Add a phy_interface_t bitmap so the MAC driver can specifiy which PHY interface modes it supports. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Diffstat (limited to 'include/linux')
-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);
};
/**