mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
net: phy: Convert u32 phydev->lp_advertising to linkmode
Convert phy drivers to report the link partner advertised modes using a linkmode bitmap. This allows them to report the higher speeds which don't fit in a u32. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3c1bcc8614
commit
c0ec3c2736
10 changed files with 72 additions and 41 deletions
|
@ -414,8 +414,7 @@ struct phy_device {
|
|||
/* See ethtool.h for more info */
|
||||
__ETHTOOL_DECLARE_LINK_MODE_MASK(supported);
|
||||
__ETHTOOL_DECLARE_LINK_MODE_MASK(advertising);
|
||||
|
||||
u32 lp_advertising;
|
||||
__ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising);
|
||||
|
||||
/* Energy efficient ethernet modes which should be prohibited */
|
||||
u32 eee_broken_modes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue