net: phy: Add missing features to PHY drivers
authorAndrew Lunn <andrew@lunn.ch>
Tue, 15 Jan 2019 15:55:30 +0000 (16:55 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jan 2019 23:41:02 +0000 (15:41 -0800)
commit9e857a40dc4eba15a739b4194d7db873d82c28a0
tree3a24c1e769a5bf1ea4a0dc3dc117a9067273ab12
parenta5a82d841186d13c4a6d500dfcf7d02b4195e3ff
net: phy: Add missing features to PHY drivers

The bcm87xx and micrel driver has PHYs which are missing the .features
value. Add them. The bcm87xx is a 10G FEC only PHY. Add the needed
features definition of this PHY.

Fixes: 719655a14971 ("net: phy: Replace phy driver features u32 with link_mode bitmap")
Reported-by: Scott Wood <oss@buserror.net>
Reported-by: Camelia Groza <camelia.groza@nxp.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/bcm87xx.c
drivers/net/phy/micrel.c
drivers/net/phy/phy_device.c
include/linux/phy.h