diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2019-12-23 23:24:17 +0000 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2021-07-02 16:35:27 +0100 |
commit | 41bc0a90d93f385ce5016abd18ca3507ef80168f (patch) | |
tree | b412cba699c0232846c4fb062af06fc38683eeb1 | |
parent | d3a04468f32dbaa68aaef7dc6851fb882f9ee01f (diff) |
net: phy: add supported_interfaces to phylib
Add a supported_interfaces member to phylib so we know which
interfaces a PHY supports. Currently, set any unconverted driver
to indicate all interfaces are supported.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
-rw-r--r-- | include/linux/phy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index 8935f56ff8cb..4f4213b7e64e 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -641,6 +641,7 @@ struct phy_device { /* supported PHY interface types */ DECLARE_PHY_INTERFACE_MASK(host_interfaces); + DECLARE_PHY_INTERFACE_MASK(supported_interfaces); /* Energy efficient ethernet modes which should be prohibited */ u32 eee_broken_modes; |