ar71xx: run the RedBoot parser only on the RedBoot based boards
[openwrt.git] / target / linux / ar71xx / patches-2.6.39 / 003-ar71xx_usb_host.patch
1 --- a/drivers/usb/host/Kconfig
2 +++ b/drivers/usb/host/Kconfig
3 @@ -129,6 +129,13 @@ config XPS_USB_HCD_XILINX
4 config USB_FSL_MPH_DR_OF
5 tristate
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 @@ -287,6 +294,13 @@ config USB_OHCI_HCD_OMAP3
18 Enables support for the on-chip OHCI controller on
19 OMAP3 and later chips.
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 @@ -1267,6 +1267,11 @@ MODULE_LICENSE ("GPL");
34 #define PLATFORM_DRIVER tegra_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 !defined(XILINX_OF_PLATFORM_DRIVER)
45 --- a/drivers/usb/host/ohci-hcd.c
46 +++ b/drivers/usb/host/ohci-hcd.c
47 @@ -1107,6 +1107,11 @@ MODULE_LICENSE ("GPL");
48 #define PLATFORM_DRIVER ohci_hcd_cns3xxx_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(OMAP1_PLATFORM_DRIVER) && \
This page took 0.042889 seconds and 5 git commands to generate.