]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2bdbf5a23dc6ea953af9d6760c6fff66c85ed7cf
tree99a18c1491d3067d52d72b87c966beac0eff447f
parenta7ed526f172f2519bd8d680051ed49be3edcd05c
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