Skip to content

net: stmmac: socfpga: 1000BaseX support and cleanups

Maxime Chevallier linux-arm-kernel lkml netdev 3 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 0 repliesApplied 3/3
  2. v23 patches 1 replySuperseded
  3. v13 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- None besides targeting net-next instead of net

Patches in v3 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net: stmmac: socfpga: Enable internal GMII when using 1000BaseXdrivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c+1 -00 repliesApplied
2/3net: stmmac: socfpga: Don't check for phy to enable the SGMII adapterdrivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c+7 -60 repliesApplied
3/3net: stmmac: socfpga: Remove unused pcs-mdiodev fielddrivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c+0 -10 repliesApplied

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchRussell King (Oracle)
1/3R-b
2/3
3/3R-b

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

Read the v3 thread

Cover letter [PATCH net-next v3 0/3] net: stmmac: socfpga: 1000BaseX support and cleanups

Hi everyone,

This V3 is simply a re-send of V2, targeting net-next instead of net as the V2 did by mistake.

No other changes besides a rebase on net-next were made.

This small series sorts-out 1000BaseX support and does a bit of cleanup for the Lynx conversion.

Patch 1 makes sure that we set the right phy_mode when working in 1000BaseX mode, so that the internal GMII is configured correctly.

Patch 2 removes a check for phy_device upon calling fix_mac_speed(). As the SGMII adapter may be chained to a Lynx PCS, checking for a phy_device to be attached to the netdev before enabling the SGMII adapter doesn't make sense, as we won't have a downstream PHY when using 1000BaseX.

Patch 3 cleans an unused field from the PCS conversion.

Changes in V3:
- None besides targeting net-next instead of net

Changes in V2:
- Added Russell's review tags
- Reworked patch 2 to check for phy_interface when configuring the adapter, as suggested by Russell.

V1: https://lore.kernel.org/netdev/[email protected]/
V2: https://lore.kernel.org/netdev/[email protected]/

Maxime Chevallier (3):
net: stmmac: socfpga: Enable internal GMII when using 1000BaseX
net: stmmac: socfpga: Don't check for phy to enable the SGMII adapter
net: stmmac: socfpga: Remove unused pcs-mdiodev field

 .../net/ethernet/stmicro/stmmac/dwmac-socfpga.c   | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
Signature · 1 line
2.49.0