X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/aedeeb1874e872189927c3c73cc039a2eb250586..d9c2b6a237f6481353e98dcdace3b14a3c9ca3de:/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 28ffe1d36..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 -@@ -1040,6 +1040,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