net: phy: Convert u32 phydev->lp_advertising to linkmode
authorAndrew Lunn <andrew@lunn.ch>
Sat, 10 Nov 2018 22:43:34 +0000 (23:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Nov 2018 18:10:01 +0000 (10:10 -0800)
commitc0ec3c2736774c69bf5c641aea7712132c0f0eba
tree882122cf62a93a87d94036062c5fc5dcd4a7a606
parent3c1bcc8614db10803f1f57ef0295363917448cb2
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>
drivers/net/phy/lxt.c
drivers/net/phy/marvell.c
drivers/net/phy/marvell10g.c
drivers/net/phy/phy-c45.c
drivers/net/phy/phy-core.c
drivers/net/phy/phy.c
drivers/net/phy/phy_device.c
drivers/net/phy/uPD60620.c
include/linux/mii.h
include/linux/phy.h