ar71xx: fix phy interface selection for the RB-450G
[openwrt.git] / target / linux / ar71xx / patches-2.6.32 / 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 @@ -189,6 +196,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 @@ -1140,6 +1140,11 @@ MODULE_LICENSE ("GPL");
34 #define PLATFORM_DRIVER ehci_atmel_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 @@ -1085,6 +1085,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.051744 seconds and 5 git commands to generate.