X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/bba43a8dab4c022fa3463c584ea29dc83a3ad002..a808a8e5276ff8e3012d1b54b9c3f29744889620:/target/linux/brcm63xx/patches-3.0/011-add_bcm63xx_ehci_controller.patch diff --git a/target/linux/brcm63xx/patches-3.0/011-add_bcm63xx_ehci_controller.patch b/target/linux/brcm63xx/patches-3.0/011-add_bcm63xx_ehci_controller.patch index d287c52cc..466b988ef 100644 --- a/target/linux/brcm63xx/patches-3.0/011-add_bcm63xx_ehci_controller.patch +++ b/target/linux/brcm63xx/patches-3.0/011-add_bcm63xx_ehci_controller.patch @@ -7,7 +7,7 @@ Signed-off-by: Maxime Bizon --- /dev/null +++ b/drivers/usb/host/ehci-bcm63xx.c -@@ -0,0 +1,154 @@ +@@ -0,0 +1,155 @@ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive @@ -121,6 +121,7 @@ Signed-off-by: Maxime Bizon + HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); + ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); + ehci->sbrn = 0x20; ++ ehci->ignore_oc = 1; + + ret = usb_add_hcd(hcd, irq, IRQF_DISABLED); + if (ret) @@ -164,7 +165,7 @@ Signed-off-by: Maxime Bizon +MODULE_ALIAS("platform:bcm63xx_ehci"); --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c -@@ -1282,6 +1282,11 @@ MODULE_LICENSE ("GPL"); +@@ -1312,6 +1312,11 @@ MODULE_LICENSE ("GPL"); #define PLATFORM_DRIVER ehci_grlib_driver #endif