Skip to content

net: ethernet: mtk_eth_soc: minor SGMII fixes

Daniel Golle linux-arm-kernel linux-devicetree linux-mediatek lkml netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: ethernet: mtk_eth_soc: reset PCS statedrivers/net/ethernet/mediatek/mtk_eth_soc.h drivers/net/ethernet/mediatek/mtk_sgmii.c+8 -00 repliesApplied
2/2net: ethernet: mtk_eth_soc: only write values if neededdrivers/net/ethernet/mediatek/mtk_sgmii.c+12 -120 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchRussell King (Oracle)Bjørn Mork
1/2R-b T-b
2/2R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net 0/2] 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.

Daniel Golle (2):
net: ethernet: mtk_eth_soc: reset PCS state
net: ethernet: mtk_eth_soc: only write values if needed

 drivers/net/ethernet/mediatek/mtk_eth_soc.h |  4 +++
 drivers/net/ethernet/mediatek/mtk_sgmii.c   | 28 ++++++++++++---------
 2 files changed, 20 insertions(+), 12 deletions(-)

base-commit: 512dd354718b98c60d4ff6017ff8c9f66c10d03f

Signature · 1 line
2.39.2