projects
/
openwrt
/
staging
/
wigyori.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add ignore_oc in struct ehci_hcd
[openwrt/staging/wigyori.git]
/
target
/
linux
/
brcm63xx
/
patches-3.1
/
011-add_bcm63xx_ehci_controller.patch
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 397562cacc307e4cdb67fc7cb8ac9098113ff327..62c39c3a0c43b2dc264fbbfd5b373071315fd992 100644
(file)
--- 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
--- /dev/null
+++ b/drivers/usb/host/ehci-bcm63xx.c
-@@ -0,0 +1,15
4
@@
+@@ -0,0 +1,15
5
@@
+/*
+ * 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
+/*
+ * 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 +
+ 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->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)
+
+ ret = usb_add_hcd(hcd, irq, IRQF_DISABLED);
+ if (ret)