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: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8e20f591f2
commit
38c310eb46
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue