aboutsummaryrefslogtreecommitdiffstats
path: root/target
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 /target
parent696c29fa4d08971bdfff339e0a486a61441576e8 (diff)
downloadupstream-7f3ed114f2c84012013ffecd3afe88e94d8580e4.tar.gz
upstream-7f3ed114f2c84012013ffecd3afe88e94d8580e4.tar.bz2
upstream-7f3ed114f2c84012013ffecd3afe88e94d8580e4.zip
Export USB host driver as kernel package
SVN-Revision: 17818
Diffstat (limited to 'target')
-rw-r--r--target/linux/etrax/config-2.6.309
-rw-r--r--target/linux/etrax/patches-2.6.30/300-usb_support.patch13
2 files changed, 17 insertions, 5 deletions
diff --git a/target/linux/etrax/config-2.6.30 b/target/linux/etrax/config-2.6.30
index 33b650848e..17aeeee91e 100644
--- a/target/linux/etrax/config-2.6.30
+++ b/target/linux/etrax/config-2.6.30
@@ -131,9 +131,7 @@ CONFIG_ETRAX_SERIAL_PORT3_DMA5_IN=y
CONFIG_ETRAX_SERIAL_RX_TIMEOUT_TICKS=5
# CONFIG_ETRAX_SOFT_SHUTDOWN is not set
# CONFIG_ETRAX_SYNCHRONOUS_SERIAL is not set
-CONFIG_ETRAX_USB_HOST=y
-CONFIG_ETRAX_USB_HOST_PORT1=y
-CONFIG_ETRAX_USB_HOST_PORT2=y
+# CONFIG_ETRAX_USB_HOST is not set
# CONFIG_ETRAX_VCS_SIM is not set
# CONFIG_ETRAX_WATCHDOG is not set
CONFIG_FORCE_MAX_ZONEORDER=6
@@ -166,4 +164,7 @@ CONFIG_PAGEFLAGS_EXTENDED=y
# CONFIG_SVINTO_SIM is not set
# CONFIG_SYSTEM_PROFILER is not set
CONFIG_UID16=y
-CONFIG_USB=y
+# CONFIG_USB_ARCH_HAS_EHCI is not set
+# CONFIG_USB_ARCH_HAS_HCD is not set
+# CONFIG_USB_ARCH_HAS_OHCI is not set
+CONFIG_USB_SUPPORT=y
diff --git a/target/linux/etrax/patches-2.6.30/300-usb_support.patch b/target/linux/etrax/patches-2.6.30/300-usb_support.patch
index b2c1d27e8d..7b2972656a 100644
--- a/target/linux/etrax/patches-2.6.30/300-usb_support.patch
+++ b/target/linux/etrax/patches-2.6.30/300-usb_support.patch
@@ -4,7 +4,7 @@
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_ARCH_V10) += hc-crisv10.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
@@ -18,3 +18,14 @@
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