diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2022-08-07 16:00:32 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-08-10 21:36:17 +0200 |
commit | 5b016a88f92f25dd7d32438bce3a469f343f4009 (patch) | |
tree | c6876f296130a03631016585a5009fda0c4c2c91 /package/kernel/linux/modules/netdevices.mk | |
parent | 712ff388bcd0811256c07e8e1f4b92a007adaa7f (diff) | |
download | upstream-5b016a88f92f25dd7d32438bce3a469f343f4009.tar.gz upstream-5b016a88f92f25dd7d32438bce3a469f343f4009.tar.bz2 upstream-5b016a88f92f25dd7d32438bce3a469f343f4009.zip |
kernel: kmod-phy-smsc: Add new PHY
This adds the SMSC PHY which is needed by the kmod-usb-net-smsc95xx
driver.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/kernel/linux/modules/netdevices.mk')
-rw-r--r-- | package/kernel/linux/modules/netdevices.mk | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 5e622eb83c..140459ab25 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -290,6 +290,22 @@ endef $(eval $(call KernelPackage,phy-realtek)) +define KernelPackage/phy-smsc + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=SMSC PHY driver + KCONFIG:=CONFIG_SMSC_PHY + DEPENDS:=+kmod-libphy + FILES:=$(LINUX_DIR)/drivers/net/phy/smsc.ko + AUTOLOAD:=$(call AutoProbe,smsc) +endef + +define KernelPackage/phy-smsc/description + Currently supports the LAN83C185, LAN8187 and LAN8700 PHYs +endef + +$(eval $(call KernelPackage,phy-smsc)) + + define KernelPackage/swconfig SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=switch configuration API |