]> 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)
commit7ccec632cb76546e363708bb5c41026723114492
tree3a24c1e769a5bf1ea4a0dc3dc117a9067273ab12
parentcfd5b5e22078eea84f9cdcbfb5faba67f5024779
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: 1d5cf307bd67 ("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