]> git.dujemihanovic.xyz Git - linux.git/commit
Merge branch 'mtk_eth_soc-SGMII-fixes'
authorDavid S. Miller <davem@davemloft.net>
Wed, 15 Mar 2023 08:58:13 +0000 (08:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Mar 2023 08:58:13 +0000 (08:58 +0000)
commit75014826d0826d175aa9e36cd8e118793263e3f4
tree0cbe15b47d291ee459ccd4a7a31e3594b4e73d5f
parentd8b228318935044dafe3a5bc07ee71a1f1424b8d
parent6e933a804c7db8be64f367f33e63cd7dcc302ebb
Merge branch 'mtk_eth_soc-SGMII-fixes'

Daniel Golle says:

====================
net: ethernet: mtk_eth_soc: minor SGMII fixes

This small series brings two minor fixes for the SGMII unit found in
MediaTek's router SoCs.

The first patch resets the PCS internal state machine on major
configuration changes, just like it is also done in MediaTek's SDK.

The second patch makes sure we only write values and restart AN if
actually needed, thus preventing unnesseray loss of an existing link
in some cases.

Both patches have previously been submitted as part of the series
"net: ethernet: mtk_eth_soc: various enhancements" which grew a bit
too big and it has correctly been criticized that some of the patches
should rather go as fixes to net-next.

This new series tries to address this.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>