[brcm63xx] fix ehci build on 3.0+
authorFlorian Fainelli <florian@openwrt.org>
Wed, 10 Aug 2011 11:37:25 +0000 (11:37 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 10 Aug 2011 11:37:25 +0000 (11:37 +0000)
SVN-Revision: 27946

target/linux/brcm63xx/patches-3.0/011-add_bcm63xx_ehci_controller.patch
target/linux/brcm63xx/patches-3.1/011-add_bcm63xx_ehci_controller.patch

index 913bf361586614ced0866dbabbf7fa5c725671da..ef059f9b75a16cbef412e72dd9e7903b654bdda4 100644 (file)
@@ -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;
index 62c39c3a0c43b2dc264fbbfd5b373071315fd992..1564a46831ca2d27671ae96d10e10f18c21d4649 100644 (file)
@@ -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;