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

Pawel Dembicki posted 5 patches 1 week, 6 days ago
drivers/net/dsa/vitesse-vsc73xx-core.c | 253 ++++++++++++-------------
drivers/net/dsa/vitesse-vsc73xx.h      |  27 ++-
2 files changed, 143 insertions(+), 137 deletions(-)
[PATCH net-next v2 0/5] net: dsa: vsc73xx: convert to PHYLINK and do some cleanup
Posted by Pawel Dembicki 1 week, 6 days ago
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(-)

-- 
2.34.1