Commit 38c310eb authored by Russell King's avatar Russell King Committed by David S. Miller

net: phylink: add MAC phy_interface_t bitmap

Add a phy_interface_t bitmap so the MAC driver can specifiy which PHY
interface modes it supports.
Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8e20f591
...@@ -76,6 +76,7 @@ struct phylink_config { ...@@ -76,6 +76,7 @@ struct phylink_config {
bool ovr_an_inband; bool ovr_an_inband;
void (*get_fixed_state)(struct phylink_config *config, void (*get_fixed_state)(struct phylink_config *config,
struct phylink_link_state *state); struct phylink_link_state *state);
DECLARE_PHY_INTERFACE_MASK(supported_interfaces);
}; };
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment