diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2020-03-03 12:12:43 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2020-06-29 01:19:23 +0100 |
commit | 24bdd7e0621eef9cc3de781491abf2cdfc8a25f5 (patch) | |
tree | cd13d19594b4885b7a2f796eb8f9e11899a6bf93 /include/linux | |
parent | 82160523267d3c73befba80ab5fa3aa9ebc43c83 (diff) |
net: phylink: use phy interface mode bitmaps
Use the phy interface mode bitmaps for SFP modules and PHYs to select
the operating interface for SFPs and PHYs with SFPs.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'include/linux')
-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 1aad2aea4610..6a948f5be099 100644 --- a/include/linux/phylink.h +++ b/include/linux/phylink.h @@ -70,6 +70,7 @@ struct phylink_config { bool poll_fixed_state; void (*get_fixed_state)(struct phylink_config *config, struct phylink_link_state *state); + DECLARE_PHY_INTERFACE_MASK(supported_interfaces); }; /** |