c2f14b2afc985bbffdd00df1063a99b8c2c83d49
[openwrt.git] / target / linux / ar71xx / patches-2.6.31 / 003-ar71xx_usb_host.patch
1 --- a/drivers/usb/host/Kconfig
2 +++ b/drivers/usb/host/Kconfig
3 @@ -98,6 +98,13 @@ config USB_EHCI_BIG_ENDIAN_DESC
4 depends on USB_EHCI_HCD && (440EPX || ARCH_IXP4XX)
5 default y
6
7 +config USB_EHCI_AR71XX
8 + bool "USB EHCI support for AR71xx"
9 + depends on USB_EHCI_HCD && ATHEROS_AR71XX
10 + default y
11 + help
12 + Support for Atheros AR71xx built-in EHCI controller
13 +
14 config USB_EHCI_FSL
15 bool "Support for Freescale on-chip EHCI USB controller"
16 depends on USB_EHCI_HCD && FSL_SOC
17 @@ -171,6 +178,13 @@ config USB_OHCI_HCD
18 To compile this driver as a module, choose M here: the
19 module will be called ohci-hcd.
20
21 +config USB_OHCI_AR71XX
22 + bool "USB OHCI support for Atheros AR71xx"
23 + depends on USB_OHCI_HCD && ATHEROS_AR71XX
24 + default y
25 + help
26 + Support for Atheros AR71xx built-in OHCI controller
27 +
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 @@ -1117,6 +1117,11 @@ MODULE_LICENSE ("GPL");
34 #define PLATFORM_DRIVER ixp4xx_ehci_driver
35 #endif
36
37 +#ifdef CONFIG_USB_EHCI_AR71XX
38 +#include "ehci-ar71xx.c"
39 +#define PLATFORM_DRIVER ehci_ar71xx_driver
40 +#endif
41 +
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 @@ -1081,6 +1081,11 @@ MODULE_LICENSE ("GPL");
48 #define TMIO_OHCI_DRIVER ohci_hcd_tmio_driver
49 #endif
50
51 +#ifdef CONFIG_USB_OHCI_AR71XX
52 +#include "ohci-ar71xx.c"
53 +#define PLATFORM_DRIVER ohci_hcd_ar71xx_driver
54 +#endif
55 +
56 #if !defined(PCI_DRIVER) && \
57 !defined(PLATFORM_DRIVER) && \
58 !defined(OF_PLATFORM_DRIVER) && \
This page took 0.043721 seconds and 3 git commands to generate.