X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/1ff90943e228fbc574d66fca9897165ceed3d84a..d2f6c11460d6e89d7c0488ea9b5d0cc9e4791e23:/target/linux/brcm47xx/patches-3.2/231-bcma_reorder_sprom_fill.patch diff --git a/target/linux/brcm47xx/patches-3.2/231-bcma_reorder_sprom_fill.patch b/target/linux/brcm47xx/patches-3.2/231-bcma_reorder_sprom_fill.patch index 075f7bee5..f4c2e2650 100644 --- a/target/linux/brcm47xx/patches-3.2/231-bcma_reorder_sprom_fill.patch +++ b/target/linux/brcm47xx/patches-3.2/231-bcma_reorder_sprom_fill.patch @@ -1,6 +1,6 @@ --- a/arch/mips/bcm47xx/setup.c +++ b/arch/mips/bcm47xx/setup.c -@@ -98,6 +98,7 @@ static int bcm47xx_get_sprom_ssb(struct +@@ -137,6 +137,7 @@ static int bcm47xx_get_sprom_ssb(struct char prefix[10]; if (bus->bustype == SSB_BUSTYPE_PCI) { @@ -8,7 +8,7 @@ snprintf(prefix, sizeof(prefix), "pci/%u/%u/", bus->host_pci->bus->number + 1, PCI_SLOT(bus->host_pci->devfn)); -@@ -126,6 +127,7 @@ static int bcm47xx_get_invariants(struct +@@ -165,6 +166,7 @@ static int bcm47xx_get_invariants(struct if (nvram_getenv("boardrev", buf, sizeof(buf)) >= 0) iv->boardinfo.rev = (u16)simple_strtoul(buf, NULL, 0); @@ -16,7 +16,7 @@ bcm47xx_fill_sprom(&iv->sprom, NULL); if (nvram_getenv("cardbus", buf, sizeof(buf)) >= 0) -@@ -206,12 +208,14 @@ static int bcm47xx_get_sprom_bcma(struct +@@ -263,12 +265,14 @@ static int bcm47xx_get_sprom_bcma(struct switch (bus->hosttype) { case BCMA_HOSTTYPE_PCI: