Skip to content

net: stmmac: dwmac-socfpga: Cleanup .fix_mac_speed

Maxime Chevallier linux-arm-kernel lkml netdev 1 version 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

  1. v1 Latest5 patches 5 repliesApplied 5/5

Patches in v1 All 5 applied

#Subject and filesSizeRepliesApplied
1/5net: stmmac: dwmac-socfpga: Move internal helpersdrivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c+12 -121 replyApplied
2/5net: stmmac: dwmac-socfpga: Use the socfpga_sgmii_config() helperdrivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c+2 -41 replyApplied
3/5net: stmmac: dwmac-socfpga: Use the correct type for interface modesdrivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c+3 -31 replyApplied
4/5net: stmmac: dwmac-socfpga: get the phy_mode with the dedicated helperdrivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c+4 -51 replyApplied
5/5net: stmmac: dwmac-sofcpga: Drop the struct device referencedrivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c+8 -71 replyApplied

Reviews trailers per patch

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

PatchRussell King (Oracle)
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-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-next 0/5] net: stmmac: dwmac-socfpga: Cleanup .fix_mac_speed

Hi everyone,

This small series does a bit of cleanup in the dwmad-socfpga glue driver, especially around the .fix_mac_speed() operation.

It's mostly about re-using existing helpers from the glue driver, as well as reorganizing the code to make the local private structures a little bit smaller.

No functionnal changes are intended, this was tested on cyclone V.

Maxime Chevallier (5):
net: stmmac: dwmac-socfpga: Move internal helpers
net: stmmac: dwmac-socfpga: Use the socfpga_sgmii_config() helper
net: stmmac: dwmac-socfpga: Use the correct type for interface modes
net: stmmac: dwmac-socfpga: get the phy_mode with the dedicated helper
net: stmmac: dwmac-sofcpga: Drop the struct device reference

 .../ethernet/stmicro/stmmac/dwmac-socfpga.c   | 58 +++++++++----------
 1 file changed, 28 insertions(+), 30 deletions(-)
Signature · 1 line
2.49.0