summaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorclaudio <claudio@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-10-02 09:34:10 +0000
committerclaudio <claudio@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-10-02 09:34:10 +0000
commita10614cd42f98639ac1857d3f33ed6924e3c0811 (patch)
treedacb215a4eb4e7052e82734e416623af5436e763 /package/kernel
parent4fea8d2283645d50dc58ab28036713f2e16e5082 (diff)
[etrax] Export USB host driver as kernel package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17818 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-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 4fcf5573a..3ab32fd30 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,)