1 --- a/drivers/usb/host/Kconfig
2 +++ b/drivers/usb/host/Kconfig
3 @@ -109,6 +109,13 @@ config XPS_USB_HCD_XILINX
4 support both high speed and full speed devices, or high speed
7 +config USB_EHCI_AR71XX
8 + bool "USB EHCI support for AR71xx"
9 + depends on USB_EHCI_HCD && ATHEROS_AR71XX
12 + Support for Atheros AR71xx built-in EHCI controller
15 bool "Support for Freescale on-chip EHCI USB controller"
16 depends on USB_EHCI_HCD && FSL_SOC
17 @@ -207,6 +214,13 @@ config USB_OHCI_HCD
18 To compile this driver as a module, choose M here: the
19 module will be called ohci-hcd.
21 +config USB_OHCI_AR71XX
22 + bool "USB OHCI support for Atheros AR71xx"
23 + depends on USB_OHCI_HCD && ATHEROS_AR71XX
26 + Support for Atheros AR71xx built-in OHCI controller
28 config USB_OHCI_HCD_PPC_SOC
29 bool "OHCI support for on-chip PPC USB controller"
30 depends on USB_OHCI_HCD && (STB03xxx || PPC_MPC52xx)
31 --- a/drivers/usb/host/ehci-hcd.c
32 +++ b/drivers/usb/host/ehci-hcd.c
33 @@ -1158,6 +1158,11 @@ MODULE_LICENSE ("GPL");
34 #define PLATFORM_DRIVER ehci_atmel_driver
37 +#ifdef CONFIG_USB_EHCI_AR71XX
38 +#include "ehci-ar71xx.c"
39 +#define PLATFORM_DRIVER ehci_ar71xx_driver
42 #if !defined(PCI_DRIVER) && !defined(PLATFORM_DRIVER) && \
43 !defined(PS3_SYSTEM_BUS_DRIVER) && !defined(OF_PLATFORM_DRIVER)
44 #error "missing bus glue for ehci-hcd"
45 --- a/drivers/usb/host/ohci-hcd.c
46 +++ b/drivers/usb/host/ohci-hcd.c
47 @@ -1090,6 +1090,11 @@ MODULE_LICENSE ("GPL");
48 #define TMIO_OHCI_DRIVER ohci_hcd_tmio_driver
51 +#ifdef CONFIG_USB_OHCI_AR71XX
52 +#include "ohci-ar71xx.c"
53 +#define PLATFORM_DRIVER ohci_hcd_ar71xx_driver
56 #if !defined(PCI_DRIVER) && \
57 !defined(PLATFORM_DRIVER) && \
58 !defined(OF_PLATFORM_DRIVER) && \