diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2021-10-26 13:06:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-26 17:10:36 +0300 |
commit | 38c310eb46f5f80213a92093af11af270c209a76 (patch) | |
tree | 1cea1ec8b7dd6031c257191e13a01cb6ac47efac /include/linux/phylink.h | |
parent | 8e20f591f204f8db7f1182918f8e2285d3f589e0 (diff) | |
download | linux-38c310eb46f5f80213a92093af11af270c209a76.tar.xz |
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>
Diffstat (limited to 'include/linux/phylink.h')
-rw-r--r-- | include/linux/phylink.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/phylink.h b/include/linux/phylink.h index f7b5ed06a815..bc4b866cd99b 100644 --- a/include/linux/phylink.h +++ b/include/linux/phylink.h @@ -76,6 +76,7 @@ struct phylink_config { bool ovr_an_inband; void (*get_fixed_state)(struct phylink_config *config, struct phylink_link_state *state); + DECLARE_PHY_INTERFACE_MASK(supported_interfaces); }; /** |