Root/target/linux/brcm47xx/patches-3.3/005-ssb-remove-rev-from-boardinfo.patch

1--- a/arch/mips/bcm47xx/setup.c
2+++ b/arch/mips/bcm47xx/setup.c
3@@ -115,8 +115,6 @@ static int bcm47xx_get_invariants(struct
4         iv->boardinfo.vendor = SSB_BOARDVENDOR_BCM;
5     if (nvram_getenv("boardtype", buf, sizeof(buf)) >= 0)
6         iv->boardinfo.type = (u16)simple_strtoul(buf, NULL, 0);
7- if (nvram_getenv("boardrev", buf, sizeof(buf)) >= 0)
8- iv->boardinfo.rev = (u16)simple_strtoul(buf, NULL, 0);
9 
10     bcm47xx_fill_sprom(&iv->sprom, NULL);
11 
12

Archive Download this file



interactive