diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-09-18 12:40:42 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-09-18 12:40:42 +0000 |
commit | ee906ec81e10d984289237e05f1728205305f47a (patch) | |
tree | d18d35b74101f8689a4d4f7bd2f31841df8ed0b0 /target/linux/ar71xx/patches/003-ar71xx_usb_host.patch | |
parent | d590c14151eb8f39676afb47c276801095bc7107 (diff) | |
download | mtk-20170518-ee906ec81e10d984289237e05f1728205305f47a.zip mtk-20170518-ee906ec81e10d984289237e05f1728205305f47a.tar.gz mtk-20170518-ee906ec81e10d984289237e05f1728205305f47a.tar.bz2 |
nuke 2.6.25 specific patches
SVN-Revision: 12625
Diffstat (limited to 'target/linux/ar71xx/patches/003-ar71xx_usb_host.patch')
-rw-r--r-- | target/linux/ar71xx/patches/003-ar71xx_usb_host.patch | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/target/linux/ar71xx/patches/003-ar71xx_usb_host.patch b/target/linux/ar71xx/patches/003-ar71xx_usb_host.patch deleted file mode 100644 index 60c0d1e..0000000 --- a/target/linux/ar71xx/patches/003-ar71xx_usb_host.patch +++ /dev/null @@ -1,60 +0,0 @@ ---- a/drivers/usb/host/Kconfig -+++ b/drivers/usb/host/Kconfig -@@ -260,3 +260,15 @@ - To compile this driver as a module, choose M here: the - module will be called r8a66597-hcd. - -+config USB_OHCI_AR71XX -+ bool "USB OHCI support for Atheros AR71xx" -+ depends on ATHEROS_AR71XX && USB_OHCI_HCD -+ help -+ Support for Atheros AR71xx built-in OHCI controller -+ -+config USB_EHCI_AR71XX -+ bool "USB EHCI support for AR71xx" -+ depends on ATHEROS_AR71XX && USB_EHCI_HCD -+ help -+ Support for Atheros AR71xx built-in EHCI controller -+ ---- a/drivers/usb/host/ehci-hcd.c -+++ b/drivers/usb/host/ehci-hcd.c -@@ -1043,6 +1043,11 @@ - #define PLATFORM_DRIVER ixp4xx_ehci_driver - #endif - -+#ifdef CONFIG_USB_EHCI_AR71XX -+#include "ehci-ar71xx.c" -+#define PLATFORM_DRIVER ehci_hcd_ar71xx_driver -+#endif -+ - #if !defined(PCI_DRIVER) && !defined(PLATFORM_DRIVER) && \ - !defined(PS3_SYSTEM_BUS_DRIVER) && !defined(OF_PLATFORM_DRIVER) - #error "missing bus glue for ehci-hcd" ---- a/drivers/usb/host/ohci.h -+++ b/drivers/usb/host/ohci.h -@@ -538,6 +538,11 @@ - #define writel_be(val, addr) out_be32((__force unsigned *)addr, val) - #endif - -+#if defined(CONFIG_ATHEROS_AR71XX) -+#define readl_be(addr) __raw_readl(addr) -+#define writel_be(val, addr) __raw_writel(addr, val) -+#endif -+ - static inline unsigned int _ohci_readl (const struct ohci_hcd *ohci, - __hc32 __iomem * regs) - { ---- a/drivers/usb/host/ohci-hcd.c -+++ b/drivers/usb/host/ohci-hcd.c -@@ -1057,6 +1057,11 @@ - #define SM501_OHCI_DRIVER ohci_hcd_sm501_driver - #endif - -+#ifdef CONFIG_USB_OHCI_AR71XX -+#include "ohci-ar71xx.c" -+#define PLATFORM_DRIVER ohci_hcd_ar71xx_driver -+#endif -+ - #if !defined(PCI_DRIVER) && \ - !defined(PLATFORM_DRIVER) && \ - !defined(OF_PLATFORM_DRIVER) && \ |