[PATCH net-next v2 0/8] port asix ax88772 to the PHYlib

From: Oleksij Rempel
Date: Mon Jun 07 2021 - 04:27:38 EST


changes v2:
- add Reviewed-by: Andrew Lunn <andrew@xxxxxxx> to some patches
- refactor asix_read_phy_addr() and add error handling for all callers
- refactor asix_mdio_bus_read()

Port ax88772 part of asix driver to the phylib to be able to use more
advanced external PHY attached to this controller.

Oleksij Rempel (8):
net: usb: asix: ax88772_bind: use devm_kzalloc() instead of kzalloc()
net: usb: asix: refactor asix_read_phy_addr() and handle errors on
return
net: usb/phy: asix: add support for ax88772A/C PHYs
net: usb: asix: ax88772: add phylib support
net: usb: asix: ax88772: add generic selftest support
net: usb: asix: add error handling for asix_mdio_* functions
net: phy: do not print dump stack if device was removed
usbnet: run unbind() before unregister_netdev()

drivers/net/phy/ax88796b.c | 74 +++++++++++++++-
drivers/net/phy/phy.c | 3 +
drivers/net/usb/Kconfig | 2 +
drivers/net/usb/asix.h | 13 ++-
drivers/net/usb/asix_common.c | 106 ++++++++++++++++------
drivers/net/usb/asix_devices.c | 157 +++++++++++++++++++++++----------
drivers/net/usb/ax88172a.c | 19 ++--
drivers/net/usb/usbnet.c | 6 +-
8 files changed, 286 insertions(+), 94 deletions(-)

--
2.29.2