[kernel] add ignore_oc in struct ehci_hcd
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.0 / 011-add_bcm63xx_ehci_controller.patch
index b3138345faad23c3fc3d51714903fc3b0901d7ca..913bf361586614ced0866dbabbf7fa5c725671da 100644 (file)
@@ -7,7 +7,7 @@ Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
 
 --- /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
@@ -118,9 +118,10 @@ Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
 +      ehci->big_endian_desc = 0;
 +      ehci->caps = hcd->regs;
 +      ehci->regs = hcd->regs +
-+              HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase));
++              HC_LENGTH(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 <mbizon@freebox.fr>
 +MODULE_ALIAS("platform:bcm63xx_ehci");
 --- a/drivers/usb/host/ehci-hcd.c
 +++ b/drivers/usb/host/ehci-hcd.c
-@@ -1286,6 +1286,11 @@ MODULE_LICENSE ("GPL");
+@@ -1284,6 +1284,11 @@ MODULE_LICENSE ("GPL");
  #define PLATFORM_DRIVER               ehci_grlib_driver
  #endif