Skip to content

Commit

Permalink
net: mvneta: mark as a legacy_pre_march2020 driver
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Russell King (Oracle) <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Russell King (Oracle) authored and davem330 committed Dec 13, 2021
1 parent 62cc9a7 commit 2106be4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/ethernet/marvell/mvneta.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 2106be4

Please sign in to comment.