mbox series

[net-next,0/5] net: dsa: vsc73xx: convert to PHYLINK and do some cleanup

Message ID 20240416190055.3277007-1-paweldembicki@gmail.com (mailing list archive)
Headers show
Series net: dsa: vsc73xx: convert to PHYLINK and do some cleanup | expand

Message

Pawel Dembicki April 16, 2024, 7 p.m. UTC
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 | 246 +++++++++++--------------
 drivers/net/dsa/vitesse-vsc73xx.h      |  27 ++-
 2 files changed, 136 insertions(+), 137 deletions(-)