smsc95xx: add phylib support
authorAndre Edich <andre.edich@microchip.com>
Wed, 26 Aug 2020 11:17:17 +0000 (13:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Aug 2020 13:48:43 +0000 (06:48 -0700)
commit05b35e7eb9a11bbe8102836965e634c04e712c88
tree99a18c1491d3067d52d72b87c966beac0eff447f
parentad90a73f0236c41f7a2dedc2e75c7b5a364eb93e
smsc95xx: add phylib support

Generally, each PHY has their own configuration and it can be done
through an external PHY driver.  The smsc95xx driver uses only the
hard-coded internal PHY configuration.

This patch adds phylib support to probe external PHY drivers for
configuring external PHYs.

The MDI-X configuration for the internal PHYs moves from
drivers/net/usb/smsc95xx.c to drivers/net/phy/smsc.c.

Signed-off-by: Andre Edich <andre.edich@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/smsc.c
drivers/net/usb/Kconfig
drivers/net/usb/smsc95xx.c