https://github.com/torvalds/linux
Revision 6e933a804c7db8be64f367f33e63cd7dcc302ebb authored by Daniel Golle on 14 March 2023, 00:34:45 UTC, committed by David S. Miller on 15 March 2023, 08:58:13 UTC
Only restart auto-negotiation and write link timer if actually
necessary. This prevents losing the link in case of minor
changes.

Fixes: 7e538372694b ("net: ethernet: mediatek: Re-add support SGMII")
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tested-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 611e2da
History
Tip revision: 6e933a804c7db8be64f367f33e63cd7dcc302ebb authored by Daniel Golle on 14 March 2023, 00:34:45 UTC
net: ethernet: mtk_eth_soc: only write values if needed
Tip revision: 6e933a8

back to top