]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc5556c5d82699a3f8e1b08131db47289fcecd213
tree3a24c1e769a5bf1ea4a0dc3dc117a9067273ab12
parent6d19c874366a0396afea35f92bfed5099c21a64e
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: 4aaa9256d82c ("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