aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorMarius Durbaca <mariusd84@gmail.com>2021-09-13 11:35:36 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2021-11-20 21:08:25 +0100
commitf1b4c1d82de38cfe182bb1bb9ba0094d5f4199c7 (patch)
tree6ed4fb1c7f4680f895dddc3ba2c8ba395c9078c9 /package/kernel/linux
parent0aa1316218c4204b73f9df413478ee49dd2159bd (diff)
downloadupstream-f1b4c1d82de38cfe182bb1bb9ba0094d5f4199c7.tar.gz
upstream-f1b4c1d82de38cfe182bb1bb9ba0094d5f4199c7.tar.bz2
upstream-f1b4c1d82de38cfe182bb1bb9ba0094d5f4199c7.zip
kernel: add kmod-usb-net-smsc75xx
add kernel module for smsc75xx based USB 2.0 Gigabit Ethernet devices Signed-off-by: Marius Durbaca <mariusd84@gmail.com>
Diffstat (limited to 'package/kernel/linux')
-rw-r--r--package/kernel/linux/modules/usb.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index 3249b854d6..ce7c57bf73 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -1231,6 +1231,22 @@ endef
$(eval $(call KernelPackage,usb-net-mcs7830))
+define KernelPackage/usb-net-smsc75xx
+ TITLE:=SMSC LAN75XX based USB 2.0 Gigabit ethernet devices
+ DEPENDS:=+!LINUX_5_4:kmod-libphy
+ KCONFIG:=CONFIG_USB_NET_SMSC75XX
+ FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/smsc75xx.ko
+ AUTOLOAD:=$(call AutoProbe,smsc75xx)
+ $(call AddDepends/usb-net, +kmod-lib-crc16)
+endef
+
+define KernelPackage/usb-net-smsc75xx/description
+ Kernel module for SMSC LAN75XX based devices
+endef
+
+$(eval $(call KernelPackage,usb-net-smsc75xx))
+
+
define KernelPackage/usb-net-smsc95xx
TITLE:=SMSC LAN95XX based USB 2.0 10/100 ethernet devices
DEPENDS:=+LINUX_5_10:kmod-libphy