From: Marius Durbaca Date: Mon, 13 Sep 2021 11:35:36 +0000 (+0000) Subject: kernel: add kmod-usb-net-smsc75xx X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f1b4c1d82de38cfe182bb1bb9ba0094d5f4199c7;p=openwrt%2Fstaging%2Fthess.git kernel: add kmod-usb-net-smsc75xx add kernel module for smsc75xx based USB 2.0 Gigabit Ethernet devices Signed-off-by: Marius Durbaca --- 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