aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2011-08-10 11:37:25 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-08-10 11:37:25 +0000
commit9518b7c8a15e25834116f48ec992337659319bb4 (patch)
tree9a2d14c7620ece4c8f100c90f01e8750a715f8ab
parentd558e581728506d873d62c9bfe48495c0d019535 (diff)
downloadmaster-187ad058-9518b7c8a15e25834116f48ec992337659319bb4.tar.gz
master-187ad058-9518b7c8a15e25834116f48ec992337659319bb4.tar.bz2
master-187ad058-9518b7c8a15e25834116f48ec992337659319bb4.zip
[brcm63xx] fix ehci build on 3.0+
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27946 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/brcm63xx/patches-3.0/011-add_bcm63xx_ehci_controller.patch2
-rw-r--r--target/linux/brcm63xx/patches-3.1/011-add_bcm63xx_ehci_controller.patch2
2 files changed, 2 insertions, 2 deletions
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 913bf36158..ef059f9b75 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
@@ -118,7 +118,7 @@ Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
+ ehci->big_endian_desc = 0;
+ ehci->caps = hcd->regs;
+ ehci->regs = hcd->regs +
-+ HC_LENGTH(ehci_readl(ehci, &ehci->caps->hc_capbase));
++ 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;
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 62c39c3a0c..1564a46831 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
@@ -118,7 +118,7 @@ Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
+ ehci->big_endian_desc = 0;
+ ehci->caps = hcd->regs;
+ ehci->regs = hcd->regs +
-+ HC_LENGTH(ehci_readl(ehci, &ehci->caps->hc_capbase));
++ 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;