1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-09 21:09:23 +02:00
openwrt-xburst/target/linux/etrax/patches-2.6.30/300-usb_support.patch
claudio a10614cd42 [etrax] Export USB host driver as kernel package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-02 09:34:10 +00:00

32 lines
1.1 KiB
Diff

--- a/drivers/usb/host/Makefile
+++ b/drivers/usb/host/Makefile
@@ -25,6 +25,7 @@ obj-$(CONFIG_USB_UHCI_HCD) += uhci-hcd.o
obj-$(CONFIG_USB_FHCI_HCD) += fhci.o
obj-$(CONFIG_USB_SL811_HCD) += sl811-hcd.o
obj-$(CONFIG_USB_SL811_CS) += sl811_cs.o
+obj-$(CONFIG_ETRAX_USB_HOST) += hc-crisv10.o
obj-$(CONFIG_USB_U132_HCD) += u132-hcd.o
obj-$(CONFIG_USB_R8A66597_HCD) += r8a66597-hcd.o
obj-$(CONFIG_USB_ISP1760_HCD) += isp1760.o
--- a/drivers/usb/Makefile
+++ b/drivers/usb/Makefile
@@ -19,6 +19,7 @@ obj-$(CONFIG_USB_U132_HCD) += host/
obj-$(CONFIG_USB_R8A66597_HCD) += host/
obj-$(CONFIG_USB_HWA_HCD) += host/
obj-$(CONFIG_USB_ISP1760_HCD) += host/
+obj-$(CONFIG_ETRAX_USB_HOST) += host/
obj-$(CONFIG_USB_C67X00_HCD) += c67x00/
--- a/arch/cris/arch-v10/drivers/Kconfig
+++ b/arch/cris/arch-v10/drivers/Kconfig
@@ -410,7 +410,7 @@ config ETRAX_RS485_DISABLE_RECEIVER
Axis 2400/2401 must disable receiver.
config ETRAX_USB_HOST
- bool "USB host"
+ tristate "ETRAX USB host"
select USB
help
This option enables the host functionality of the ETRAX 100LX