commit | c3ecbe757c973d59994d9496b829052ed688ae1e | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Tue Jul 25 15:02:37 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sun Aug 06 20:55:28 2017 -0700 |
tree | a5832f3afe250c8add777087a5341405252a6997 | |
parent | 21e27f2d8652522ca0ef35918e8d24b329149a73 [diff] |
net: phy: allow settings table to support more than 32 link modes Allow the phy settings table to support more than 32 link modes by switching to the ethtool link mode bit number representation, rather than storing the mask. This will allow phylink and other ethtool code to share the settings table to look up settings. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>