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> | 2024-05-09 18:17:29 +0100 |
commit | fa26ece7c0420ef9bc277afe4eb9e42c06edf7fe (patch) | |
tree | ee59f848ffa28f4b0aa68369bc8cfe982bc4545b /include/linux/phy.h | |
parent | eb750e16c825f48a94b45e60ec99b3251916d37f (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>
Diffstat (limited to 'include/linux/phy.h')
-rw-r--r-- | include/linux/phy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index f6dcbd071637..547098e9a98c 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -715,6 +715,9 @@ struct phy_device { /* Host supported PHY interface types. Should be ignored if empty. */ DECLARE_PHY_INTERFACE_MASK(host_interfaces); + /* supported PHY interface types */ + DECLARE_PHY_INTERFACE_MASK(supported_interfaces); + /* Energy efficient ethernet modes which should be prohibited */ u32 eee_broken_modes; |