aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-3.2/980-wnr834b_no_cardbus_invariant.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2012-02-18 23:08:26 +0000
committerHauke Mehrtens <hauke@openwrt.org>2012-02-18 23:08:26 +0000
commit9b919a07e068953d4435ae65a6bf9a028f5da05f (patch)
tree397b1a30db8f78e15b86821f7268ad2211b00a8a /target/linux/brcm47xx/patches-3.2/980-wnr834b_no_cardbus_invariant.patch
parent64c49080b676d26363124af31b08ea9d8f41c4ec (diff)
downloadmaster-187ad058-9b919a07e068953d4435ae65a6bf9a028f5da05f.tar.gz
master-187ad058-9b919a07e068953d4435ae65a6bf9a028f5da05f.tar.bz2
master-187ad058-9b919a07e068953d4435ae65a6bf9a028f5da05f.zip
brcm47xx: sprom for nvram parsing
This adds support for parsing sprom form nvram for sprom version form 1 to 9. It also adds sprom from nvram support for devices on the bcma bus. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30638 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-3.2/980-wnr834b_no_cardbus_invariant.patch')
-rw-r--r--target/linux/brcm47xx/patches-3.2/980-wnr834b_no_cardbus_invariant.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm47xx/patches-3.2/980-wnr834b_no_cardbus_invariant.patch b/target/linux/brcm47xx/patches-3.2/980-wnr834b_no_cardbus_invariant.patch
index 2207a5ced5..14ac90eff1 100644
--- a/target/linux/brcm47xx/patches-3.2/980-wnr834b_no_cardbus_invariant.patch
+++ b/target/linux/brcm47xx/patches-3.2/980-wnr834b_no_cardbus_invariant.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm47xx/setup.c
+++ b/arch/mips/bcm47xx/setup.c
-@@ -278,6 +278,10 @@ static int bcm47xx_get_invariants(struct
+@@ -129,6 +129,10 @@ static int bcm47xx_get_invariants(struct
if (nvram_getenv("cardbus", buf, sizeof(buf)) >= 0)
iv->has_cardbus_slot = !!simple_strtoul(buf, NULL, 10);