diff options
author | Andrew Lunn <andrew@lunn.ch> | 2019-01-15 16:55:30 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-16 15:41:02 -0800 |
commit | 9e857a40dc4eba15a739b4194d7db873d82c28a0 (patch) | |
tree | 3a24c1e769a5bf1ea4a0dc3dc117a9067273ab12 /drivers/net/phy/micrel.c | |
parent | a5a82d841186d13c4a6d500dfcf7d02b4195e3ff (diff) | |
download | linux-9e857a40dc4eba15a739b4194d7db873d82c28a0.tar.bz2 |
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>
Diffstat (limited to 'drivers/net/phy/micrel.c')
-rw-r--r-- | drivers/net/phy/micrel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c index 7828d17f0662..b1f959935f50 100644 --- a/drivers/net/phy/micrel.c +++ b/drivers/net/phy/micrel.c @@ -1099,6 +1099,7 @@ static struct phy_driver ksphy_driver[] = { .phy_id = PHY_ID_KSZ8873MLL, .phy_id_mask = MICREL_PHY_ID_MASK, .name = "Micrel KSZ8873MLL Switch", + .features = PHY_BASIC_FEATURES, .config_init = kszphy_config_init, .config_aneg = ksz8873mll_config_aneg, .read_status = ksz8873mll_read_status, |