[PATCH net-next v8 0/7] lan78xx: preparation for PHYLINK conversion

Oleksij Rempel posted 7 patches 9 months, 1 week ago
drivers/net/usb/lan78xx.c | 462 ++++++++++++++++++++++++++++----------
1 file changed, 343 insertions(+), 119 deletions(-)
[PATCH net-next v8 0/7] lan78xx: preparation for PHYLINK conversion
Posted by Oleksij Rempel 9 months, 1 week ago
This patch series contains the first part of the LAN78xx driver
refactoring in preparation for converting the driver to use the PHYLINK
framework.

The goal of this initial part is to reduce the size and complexity of
the final PHYLINK conversion by introducing incremental cleanups and
logical separation of concerns, such as:

- Improving error handling in the PHY initialization path
- Refactoring PHY detection and MAC-side configuration
- Moving LED DT configuration to a dedicated helper
- Separating USB link power and flow control setup from the main probe logic
- Extracting PHY interrupt acknowledgment logic

Each patch is self-contained and moves non-PHYLINK-specific logic out of
the way, setting the stage for the actual conversion in a follow-up
patch series.

changes v8 (as split from full v7 00/12 series):
- Split the original series to make review easier
- This part includes only preparation patches; actual PHYLINK
  integration will follow

Oleksij Rempel (7):
  net: usb: lan78xx: Improve error handling in PHY initialization
  net: usb: lan78xx: remove explicit check for missing PHY driver
  net: usb: lan78xx: refactor PHY init to separate detection and MAC
    configuration
  net: usb: lan78xx: move LED DT configuration to helper
  net: usb: lan78xx: Extract PHY interrupt acknowledgment to helper
  net: usb: lan78xx: Refactor USB link power configuration into helper
  net: usb: lan78xx: Extract flow control configuration to helper

 drivers/net/usb/lan78xx.c | 462 ++++++++++++++++++++++++++++----------
 1 file changed, 343 insertions(+), 119 deletions(-)

--
2.39.5