diff options
author | Florian Fainelli <florian@openwrt.org> | 2011-08-10 11:37:21 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2011-08-10 11:37:21 +0000 |
commit | d558e581728506d873d62c9bfe48495c0d019535 (patch) | |
tree | 3cd327b1399890ecd5faf93032d7d1d7adbf815b /target/linux/brcm63xx/patches-3.1/011-add_bcm63xx_ehci_controller.patch | |
parent | 7bf9c1df4745ec7de7b17e0796186cbeeed7287f (diff) | |
download | upstream-d558e581728506d873d62c9bfe48495c0d019535.tar.gz upstream-d558e581728506d873d62c9bfe48495c0d019535.tar.bz2 upstream-d558e581728506d873d62c9bfe48495c0d019535.zip |
[kernel] add ignore_oc in struct ehci_hcd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27945 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-3.1/011-add_bcm63xx_ehci_controller.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-3.1/011-add_bcm63xx_ehci_controller.patch | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/brcm63xx/patches-3.1/011-add_bcm63xx_ehci_controller.patch b/target/linux/brcm63xx/patches-3.1/011-add_bcm63xx_ehci_controller.patch index 397562cacc..62c39c3a0c 100644 --- a/target/linux/brcm63xx/patches-3.1/011-add_bcm63xx_ehci_controller.patch +++ b/target/linux/brcm63xx/patches-3.1/011-add_bcm63xx_ehci_controller.patch @@ -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) |