Skip to content

net: dsa: vsc73xx: convert to PHYLINK and do some cleanup

Pawel Dembicki lkml netdev 2 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. v2 Latest5 patches 0 repliesApplied 5/5
  2. v15 patches 1 replySuperseded

Patches in v2 All 5 applied

#Subject and filesSizeRepliesApplied
1/5net: dsa: vsc73xx: use read_poll_timeout instead delay loopdrivers/net/dsa/vitesse-vsc73xx-core.c+16 -140 repliesApplied
2/5net: dsa: vsc73xx: convert to PHYLINKdrivers/net/dsa/vitesse-vsc73xx-core.c+116 -1260 repliesApplied
3/5net: dsa: vsc73xx: use macros for rgmii recognitiondrivers/net/dsa/vitesse-vsc73xx-core.c+1 -10 repliesApplied
4/5net: dsa: vsc73xx: Add define for max num of portsdrivers/net/dsa/vitesse-vsc73xx-core.c drivers/net/dsa/vitesse-vsc73xx.h+12 -120 repliesApplied
5/5net: dsa: vsc73xx: add structure descriptionsdrivers/net/dsa/vitesse-vsc73xx.h+15 -10 repliesApplied

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchAndrew LunnLinus WalleijFlorian FainelliVladimir OlteanRussell King (Oracle)
1/5R-b R-b R-b
2/5
3/5R-b R-b R-b R-b
4/5R-b R-b R-b
5/5R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v2 thread

Cover letter [PATCH net-next v2 0/5] net: dsa: vsc73xx: convert to PHYLINK and do some cleanup

This patch series is a result of splitting a larger patch series [0], where some parts needed to be refactored.

The first patch switches from a poll loop to read_poll_timeout.

The second patch is a simple conversion to phylink because adjust_link won't work anymore.

The third patch is preparation for future use. Using the "phy_interface_mode_is_rgmii" macro allows for the proper recognition of all RGMII modes.

Patches 4-5 involve some cleanup: The fourth patch introduces a definition with the maximum number of ports to avoid using magic numbers. The next one fills in documentation.

[0] https://patchwork.kernel.org/project/netdevbpf/list/?series=841034&state=%2A&archive=both

Pawel Dembicki (5):
net: dsa: vsc73xx: use read_poll_timeout instead delay loop
net: dsa: vsc73xx: convert to PHYLINK
net: dsa: vsc73xx: use macros for rgmii recognition
net: dsa: vsc73xx: Add define for max num of ports
net: dsa: vsc73xx: add structure descriptions

 drivers/net/dsa/vitesse-vsc73xx-core.c | 253 ++++++++++++-------------
 drivers/net/dsa/vitesse-vsc73xx.h      |  27 ++-
 2 files changed, 143 insertions(+), 137 deletions(-)
Signature · 1 line
2.34.1