summaryrefslogtreecommitdiff
path: root/package/kernel
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-04-01 21:59:19 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-04-01 21:59:19 +0000
commit100aa6957915e515a3760041a24bad06ec6f6605 (patch)
treea2a590680075ba84ad66de2f101f7fa7108b7062 /package/kernel
parente4c0f1e97b342ff921fab81fdfd514e43440d732 (diff)
downloadmtk-20170518-100aa6957915e515a3760041a24bad06ec6f6605.zip
mtk-20170518-100aa6957915e515a3760041a24bad06ec6f6605.tar.gz
mtk-20170518-100aa6957915e515a3760041a24bad06ec6f6605.tar.bz2
Add usbnet and asix ethernet based adapters support (#1481)
SVN-Revision: 6812
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/usb.mk26
1 files changed, 23 insertions, 3 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk
index 842fe19..bceba63 100644
--- a/package/kernel/modules/usb.mk
+++ b/package/kernel/modules/usb.mk
@@ -268,6 +268,26 @@ endef
$(eval $(call KernelPackage,usb-pwc))
-
-
-
+define KernelPackage/usb-net
+ $(call usbdep,)
+ TITLE:=Kernel modules for USB-to-Ethernet convertors
+ DESCRIPTION:=Kernel modules for USB-to-Ethernet convertors
+ KCONFIG:=$(CONFIG_USB_USBNET)
+ DEPENDS:=@USB_SUPPORT
+ FILES:= \
+ $(MODULES_DIR)/kernel/drivers/usb/net/usbnet.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call Autoload,60, usbnet)
+endef
+$(eval $(call KernelPackage,usb-net))
+
+define KernelPackage/usb-net-asix
+ $(call usbdep,+kmod-usbnet)
+ TITLE:=Kernel module for USB-to-Ethernet Asix convertors
+ DESCRIPTION:=Kernel module for USB-to-Ethernet Asix convertors
+ DEPENDS:=kmod-usb-net
+ KCONFIG:=$(CONFIG_USB_NET_AX8817X)
+ FILES:= \
+ $(MODULES_DIR)/kernel/drivers/usb/net/asix.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call Autoload,61, asix)
+endef
+$(eval $(call KernelPackage,usb-net-asix))