[openwrt/openwrt] kernel: add kmod-usb-net-smsc75xx

LEDE Commits lede-commits at lists.infradead.org
Sat Nov 20 12:09:05 PST 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/f1b4c1d82de38cfe182bb1bb9ba0094d5f4199c7

commit f1b4c1d82de38cfe182bb1bb9ba0094d5f4199c7
Author: Marius Durbaca <mariusd84 at gmail.com>
AuthorDate: Mon Sep 13 11:35:36 2021 +0000

    kernel: add kmod-usb-net-smsc75xx
    
    add kernel module for smsc75xx based USB 2.0 Gigabit Ethernet devices
    
    Signed-off-by: Marius Durbaca <mariusd84 at gmail.com>
---
 package/kernel/linux/modules/usb.mk | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

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



More information about the lede-commits mailing list