summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/patches-2.6.30/0002-rsdk-drivers-usb-Kconfig.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/realtek/patches-2.6.30/0002-rsdk-drivers-usb-Kconfig.patch')
-rw-r--r--target/linux/realtek/patches-2.6.30/0002-rsdk-drivers-usb-Kconfig.patch52
1 files changed, 52 insertions, 0 deletions
diff --git a/target/linux/realtek/patches-2.6.30/0002-rsdk-drivers-usb-Kconfig.patch b/target/linux/realtek/patches-2.6.30/0002-rsdk-drivers-usb-Kconfig.patch
new file mode 100644
index 000000000..81f055498
--- /dev/null
+++ b/target/linux/realtek/patches-2.6.30/0002-rsdk-drivers-usb-Kconfig.patch
@@ -0,0 +1,52 @@
+--- linux-2.6.30.9/drivers/usb/Kconfig 2009-10-05 18:38:08.000000000 +0300
++++ linux-2.6.30.9-rsdk/drivers/usb/Kconfig 2013-05-09 15:45:47.582603984 +0300
+@@ -19,45 +19,18 @@ config USB_ARCH_HAS_HCD
+ boolean
+ default y if USB_ARCH_HAS_OHCI
+ default y if USB_ARCH_HAS_EHCI
+- default y if PCMCIA && !M32R # sl811_cs
+- default y if ARM # SL-811
+- default y if SUPERH # r8a66597-hcd
+- default PCI
++ default y if RTL_819X
++ default y if SOC_HAS_USB
+
+ # many non-PCI SOC chips embed OHCI
+ config USB_ARCH_HAS_OHCI
+ boolean
+- # ARM:
+- default y if SA1111
+- default y if ARCH_OMAP
+- default y if ARCH_LH7A404
+- default y if ARCH_S3C2410
+- default y if PXA27x
+- default y if PXA3xx
+- default y if ARCH_EP93XX
+- default y if ARCH_AT91
+- default y if ARCH_PNX4008 && I2C
+- default y if MFD_TC6393XB
+- # PPC:
+- default y if STB03xxx
+- default y if PPC_MPC52xx
+- # MIPS:
+- default y if SOC_AU1X00
+- # SH:
+- default y if CPU_SUBTYPE_SH7720
+- default y if CPU_SUBTYPE_SH7721
+- default y if CPU_SUBTYPE_SH7763
+- default y if CPU_SUBTYPE_SH7786
+- # more:
+- default PCI
++ default y if RTL_819X
+
+ # some non-PCI hcds implement EHCI
+ config USB_ARCH_HAS_EHCI
+ boolean
+- default y if PPC_83xx
+- default y if SOC_AU1200
+- default y if ARCH_IXP4XX
+- default PCI
++ default y if RTL_819X
+
+ # ARM SA1111 chips have a non-PCI based "OHCI-compatible" USB host interface.
+ config USB