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-09-19 19:50:04 +0100 |
commit | 896c0894fd55f5c8f4953e9968329418fb073e12 (patch) | |
tree | 3effe46eafc56b40f558fcb633969e7a2e10c97f | |
parent | 5f39ed83ac1970d7c644cd7d31dba77315b30d38 (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 ef3d16e91ae1..66c062a8e69d 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -649,6 +649,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; |