mbox series

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

Message ID 20210607082727.26045-1-o.rempel@pengutronix.de
Headers show
Series port asix ax88772 to the PHYlib | expand

Message

Oleksij Rempel June 7, 2021, 8:27 a.m. UTC
changes v2:
- add Reviewed-by: Andrew Lunn <andrew@lunn.ch> 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(-)