net: asix: ax88772: migrate to phylink
authorOleksij Rempel <o.rempel@pengutronix.de>
Mon, 22 Aug 2022 12:39:42 +0000 (14:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Aug 2022 09:00:52 +0000 (10:00 +0100)
commite0bffe3e689415ddd926c7f207e4186c8d355ed8
tree4cbcb343acb498670d72b1ef680385164efd2e71
parent057062adb49b6ae9760e5615f23e6a7f557e7fa6
net: asix: ax88772: migrate to phylink

There are some exotic ax88772 based devices which may require
functionality provide by the phylink framework. For example:
- US100A20SFP, USB 2.0 auf LWL Converter with SFP Cage
- AX88772B USB to 100Base-TX Ethernet (with RMII) demo board, where it
  is possible to switch between internal PHY and external RMII based
  connection.

So, convert this driver to phylink as soon as possible.

Tested with:
- AX88772A + internal PHY
- AX88772B + external DP83TD510E T1L PHY

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/Kconfig
drivers/net/usb/asix.h
drivers/net/usb/asix_devices.c