summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/Kconfig
diff options
context:
space:
mode:
authorAndre Edich <andre.edich@microchip.com>2020-08-26 13:17:17 +0200
committerDavid S. Miller <davem@davemloft.net>2020-08-28 15:48:43 +0200
commit05b35e7eb9a11bbe8102836965e634c04e712c88 (patch)
tree99a18c1491d3067d52d72b87c966beac0eff447f /drivers/net/usb/Kconfig
parentsmsc95xx: use usbnet->driver_priv (diff)
downloadlinux-05b35e7eb9a11bbe8102836965e634c04e712c88.tar.xz
linux-05b35e7eb9a11bbe8102836965e634c04e712c88.zip
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>
Diffstat (limited to 'drivers/net/usb/Kconfig')
-rw-r--r--drivers/net/usb/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/usb/Kconfig b/drivers/net/usb/Kconfig
index a7fbc3ccd29e..0863f01937b3 100644
--- a/drivers/net/usb/Kconfig
+++ b/drivers/net/usb/Kconfig
@@ -345,6 +345,8 @@ config USB_NET_SMSC75XX
config USB_NET_SMSC95XX
tristate "SMSC LAN95XX based USB 2.0 10/100 ethernet devices"
depends on USB_USBNET
+ select PHYLIB
+ select SMSC_PHY
select BITREVERSE
select CRC16
select CRC32