* [PATCH net-next] net: mvneta: mark as a legacy_pre_march2020 driver
@ 2021-12-12 13:01 Russell King (Oracle)
2021-12-13 14:20 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Russell King (Oracle) @ 2021-12-12 13:01 UTC (permalink / raw)
To: David S. Miller, Jakub Kicinski
Cc: Marek Behún, Thomas Petazzoni, netdev
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>
---
drivers/net/ethernet/marvell/mvneta.c | 1 +
1 file changed, 1 insertion(+)
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;
--
2.30.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] net: mvneta: mark as a legacy_pre_march2020 driver
2021-12-12 13:01 [PATCH net-next] net: mvneta: mark as a legacy_pre_march2020 driver Russell King (Oracle)
@ 2021-12-13 14:20 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-12-13 14:20 UTC (permalink / raw)
To: Russell King; +Cc: davem, kuba, kabel, thomas.petazzoni, netdev
Hello:
This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:
On Sun, 12 Dec 2021 13:01:21 +0000 you wrote:
> 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>
>
> [...]
Here is the summary with links:
- [net-next] net: mvneta: mark as a legacy_pre_march2020 driver
https://git.kernel.org/netdev/net-next/c/2106be4fdf32
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-13 14:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-12 13:01 [PATCH net-next] net: mvneta: mark as a legacy_pre_march2020 driver Russell King (Oracle)
2021-12-13 14:20 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).