summaryrefslogtreecommitdiff
path: root/package/kernel/modules
diff options
context:
space:
mode:
authorClaudio Mignanti <c.mignanti@gmail.com>2009-10-02 09:34:10 +0000
committerClaudio Mignanti <c.mignanti@gmail.com>2009-10-02 09:34:10 +0000
commit7f3ed114f2c84012013ffecd3afe88e94d8580e4 (patch)
treef24063a31c8e06d1a559e1d902070820f0dcefb3 /package/kernel/modules
parent696c29fa4d08971bdfff339e0a486a61441576e8 (diff)
downloadmtk-20170518-7f3ed114f2c84012013ffecd3afe88e94d8580e4.zip
mtk-20170518-7f3ed114f2c84012013ffecd3afe88e94d8580e4.tar.gz
mtk-20170518-7f3ed114f2c84012013ffecd3afe88e94d8580e4.tar.bz2
Export USB host driver as kernel package
SVN-Revision: 17818
Diffstat (limited to 'package/kernel/modules')
-rw-r--r--package/kernel/modules/usb.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk
index 4fcf557..3ab32fd 100644
--- a/package/kernel/modules/usb.mk
+++ b/package/kernel/modules/usb.mk
@@ -134,6 +134,22 @@ endef
$(eval $(call KernelPackage,usb-adm5120))
+define KernelPackage/usb-etrax
+ $(call usbdep,@TARGET_etrax)
+ DEPENDS=kmod-usb-core
+ TITLE:=Support for the ETRAX USB host controller
+ KCONFIG:=CONFIG_ETRAX_USB_HOST \
+ CONFIG_ETRAX_USB_HOST_PORT1=y CONFIG_ETRAX_USB_HOST_PORT2=y
+ FILES:=$(LINUX_DIR)/drivers/usb/host/hc-crisv10.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,50,hc-crisv10)
+endef
+
+define KernelPackage/usb-etrax/description
+ Kernel support for the ETRAX USB host controller
+endef
+
+$(eval $(call KernelPackage,usb-etrax))
+
define KernelPackage/usb2
$(call usbdep,)