diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-05-17 13:22:38 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2012-05-17 13:22:38 +0000 |
commit | 273797f15a2ec0fc47cd88a92904a5712bd6539e (patch) | |
tree | c6806b48609216e9a0e3f0d613471ac270fbc168 /target/linux/brcm47xx/patches-3.3/250-ssb-remove-rev-from-boardinfo.patch | |
parent | 3491d8c01799eedc6bb00405d306b206242abe40 (diff) | |
download | upstream-273797f15a2ec0fc47cd88a92904a5712bd6539e.tar.gz upstream-273797f15a2ec0fc47cd88a92904a5712bd6539e.tar.bz2 upstream-273797f15a2ec0fc47cd88a92904a5712bd6539e.zip |
kernel: ssb/bcma: update to version from wireless-testing tag master-2012-05-16-2
SVN-Revision: 31772
Diffstat (limited to 'target/linux/brcm47xx/patches-3.3/250-ssb-remove-rev-from-boardinfo.patch')
-rw-r--r-- | target/linux/brcm47xx/patches-3.3/250-ssb-remove-rev-from-boardinfo.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/patches-3.3/250-ssb-remove-rev-from-boardinfo.patch b/target/linux/brcm47xx/patches-3.3/250-ssb-remove-rev-from-boardinfo.patch new file mode 100644 index 0000000000..9e9f426605 --- /dev/null +++ b/target/linux/brcm47xx/patches-3.3/250-ssb-remove-rev-from-boardinfo.patch @@ -0,0 +1,11 @@ +--- a/arch/mips/bcm47xx/setup.c ++++ b/arch/mips/bcm47xx/setup.c +@@ -163,8 +163,6 @@ static int bcm47xx_get_invariants(struct + iv->boardinfo.vendor = SSB_BOARDVENDOR_BCM; + if (nvram_getenv("boardtype", buf, sizeof(buf)) >= 0) + iv->boardinfo.type = (u16)simple_strtoul(buf, NULL, 0); +- if (nvram_getenv("boardrev", buf, sizeof(buf)) >= 0) +- iv->boardinfo.rev = (u16)simple_strtoul(buf, NULL, 0); + + memset(&iv->sprom, 0, sizeof(struct ssb_sprom)); + bcm47xx_fill_sprom(&iv->sprom, NULL); |