db59785a2be136bc311b7fa56f12c04339ffa10a
[openwrt/svn-archive/archive.git] / target / linux / ramips / patches-3.2 / 200-rt3883-ehci-glue.patch
1 --- a/drivers/usb/host/Kconfig
2 +++ b/drivers/usb/host/Kconfig
3 @@ -217,6 +217,15 @@ config USB_EHCI_ATH79
4 Enables support for the built-in EHCI controller present
5 on the Atheros AR7XXX/AR9XXX SoCs.
6
7 +config USB_EHCI_RT3883
8 + bool "EHCI support for Ralink RT3662/RT3883 SoCs"
9 + depends on USB_EHCI_HCD && SOC_RT3883
10 + select USB_EHCI_ROOT_HUB_TT
11 + default y
12 + ---help---
13 + Enables support for the built-in EHCI controller present
14 + on the Ralink RT3883 SoC.
15 +
16 config USB_OXU210HP_HCD
17 tristate "OXU210HP HCD support"
18 depends on USB
19 --- a/drivers/usb/host/ehci-hcd.c
20 +++ b/drivers/usb/host/ehci-hcd.c
21 @@ -1329,6 +1329,11 @@ MODULE_LICENSE ("GPL");
22 #define PLATFORM_DRIVER ehci_xls_driver
23 #endif
24
25 +#ifdef CONFIG_USB_EHCI_RT3883
26 +#include "ehci-rt3883.c"
27 +#define PLATFORM_DRIVER ehci_rt3883_driver
28 +#endif
29 +
30 #if !defined(PCI_DRIVER) && !defined(PLATFORM_DRIVER) && \
31 !defined(PS3_SYSTEM_BUS_DRIVER) && !defined(OF_PLATFORM_DRIVER) && \
32 !defined(XILINX_OF_PLATFORM_DRIVER)