diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2021-12-12 16:01:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-12-13 17:07:09 +0300 |
commit | 2106be4fdf3223d9c5bd485e6ef094139e3197ba (patch) | |
tree | 3b064bd3c14483476b0da6313ff4fc342afc9f3b | |
parent | 62cc9a7387f11193ab70a5f99aa8b2206817ce00 (diff) | |
download | linux-2106be4fdf3223d9c5bd485e6ef094139e3197ba.tar.xz |
net: mvneta: mark as a legacy_pre_march2020 driver
mvneta provides mac_an_restart and mac_pcs_get_state methods, so needs
to be marked as a legacy driver. Marek spotted that mvneta had stopped
working in 2500base-X mode - thanks for reporting.
Reported-by: Marek BehĂșn <kabel@kernel.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/marvell/mvneta.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c index ce810fc3c1a2..e3c5d64ba340 100644 --- a/drivers/net/ethernet/marvell/mvneta.c +++ b/drivers/net/ethernet/marvell/mvneta.c @@ -5275,6 +5275,7 @@ static int mvneta_probe(struct platform_device *pdev) pp->phylink_config.dev = &dev->dev; pp->phylink_config.type = PHYLINK_NETDEV; + pp->phylink_config.legacy_pre_march2020 = true; pp->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_10 | MAC_100 | MAC_1000FD | MAC_2500FD; |