Skip to content

RFC net: dsa: b53: convert to phylink_generic_validate() and mark as non-legacy

Russell King (Oracle) netdev 1 version In review

Get series with b4
b4 am YfvrIf/[email protected]

Versions newest first

  1. v1 RFC Latest0 of 5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchFlorian Fainelli
SeriesR-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 RFC net-next 0/5] net: dsa: b53: convert to phylink_generic_validate() and mark as non-legacy

Hi,

This series converts b53 to use phylink_generic_validate() and also marks this driver as non-legacy.

Patch 1 cleans up an if() condition to be more readable before we proceed with the conversion.

Patch 2 populates the supported_interfaces and mac_capabilities members of phylink_config.

Patch 3 drops the use of phylink_helper_basex_speed() which is now not necessary.

Patch 4 switches the driver to use phylink_generic_validate()

Patch 5 marks the driver as non-legacy.

 drivers/net/dsa/b53/b53_common.c | 68 +++++++++++++++++++++-------------------
 drivers/net/dsa/b53/b53_priv.h   |  8 ++---
 drivers/net/dsa/b53/b53_serdes.c | 17 ++++++----
 drivers/net/dsa/b53/b53_serdes.h |  5 ++-
 drivers/net/dsa/b53/b53_srab.c   | 35 ++++++++++++++++++++-
 5 files changed, 85 insertions(+), 48 deletions(-)
Signature · 2 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!