X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/bd2e5d7b03871f6caecbac1e8ac24a00baeb9822..53a0966f40913d68d81521450b2a3836fabdc5ef:/target/linux/brcm63xx/patches-2.6.27/008-usb_ehci_support.patch diff --git a/target/linux/brcm63xx/patches-2.6.27/008-usb_ehci_support.patch b/target/linux/brcm63xx/patches-2.6.27/008-usb_ehci_support.patch index 243b650b6..b656a2cb9 100644 --- a/target/linux/brcm63xx/patches-2.6.27/008-usb_ehci_support.patch +++ b/target/linux/brcm63xx/patches-2.6.27/008-usb_ehci_support.patch @@ -19,7 +19,7 @@ Signed-off-by: Maxime Bizon --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c -@@ -1039,6 +1039,11 @@ MODULE_LICENSE ("GPL"); +@@ -1041,6 +1041,11 @@ MODULE_LICENSE ("GPL"); #define PLATFORM_DRIVER ixp4xx_ehci_driver #endif @@ -33,7 +33,7 @@ Signed-off-by: Maxime Bizon #error "missing bus glue for ehci-hcd" --- a/drivers/usb/host/ehci.h +++ b/drivers/usb/host/ehci.h -@@ -755,6 +755,11 @@ ehci_port_speed(struct ehci_hcd *ehci, u +@@ -764,6 +764,11 @@ ehci_port_speed(struct ehci_hcd *ehci, u #define writel_be(val, addr) __raw_writel(val, (__force unsigned *)addr) #endif @@ -45,3 +45,14 @@ Signed-off-by: Maxime Bizon static inline unsigned int ehci_readl(const struct ehci_hcd *ehci, __u32 __iomem * regs) { +--- a/drivers/usb/host/Kconfig ++++ b/drivers/usb/host/Kconfig +@@ -44,7 +44,7 @@ config USB_EHCI_HCD + + config USB_EHCI_ROOT_HUB_TT + bool "Root Hub Transaction Translators" +- depends on USB_EHCI_HCD ++ depends on USB_EHCI_HCD && !BCM63XX + ---help--- + Some EHCI chips have vendor-specific extensions to integrate + transaction translators, so that no OHCI or UHCI companion