]> 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)
commitaba6c7f835410a2c482567adb8abb4a7d534ca33
tree99a18c1491d3067d52d72b87c966beac0eff447f
parent404139832728ec7daaf65e423e4f20ecb842462e
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