diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2013-01-03 01:53:30 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2013-01-03 01:53:30 +0000 |
commit | 880dc8381a3948b0c49610a3e36add1a91e7f06b (patch) | |
tree | 80c467f23a4f364b9be69716075cd3b186161e62 /target/linux/brcm47xx/patches-3.6/980-wnr834b_no_cardbus_invariant.patch | |
parent | 979291e9c5a2acd6c9942bbb8b846f07ec0d6050 (diff) | |
download | master-187ad058-880dc8381a3948b0c49610a3e36add1a91e7f06b.tar.gz master-187ad058-880dc8381a3948b0c49610a3e36add1a91e7f06b.tar.bz2 master-187ad058-880dc8381a3948b0c49610a3e36add1a91e7f06b.zip |
brcm47xx: add a new version of the nvram rewrite patch
This is the version like it was send for mainline inclusion.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34988 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-3.6/980-wnr834b_no_cardbus_invariant.patch')
-rw-r--r-- | target/linux/brcm47xx/patches-3.6/980-wnr834b_no_cardbus_invariant.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm47xx/patches-3.6/980-wnr834b_no_cardbus_invariant.patch b/target/linux/brcm47xx/patches-3.6/980-wnr834b_no_cardbus_invariant.patch index 1c0c6195e8..455067631a 100644 --- a/target/linux/brcm47xx/patches-3.6/980-wnr834b_no_cardbus_invariant.patch +++ b/target/linux/brcm47xx/patches-3.6/980-wnr834b_no_cardbus_invariant.patch @@ -1,7 +1,7 @@ --- a/arch/mips/bcm47xx/setup.c +++ b/arch/mips/bcm47xx/setup.c @@ -120,6 +120,10 @@ static int bcm47xx_get_invariants(struct - if (nvram_getenv("cardbus", buf, sizeof(buf)) >= 0) + if (bcm47xx_nvram_getenv("cardbus", buf, sizeof(buf)) >= 0) iv->has_cardbus_slot = !!simple_strtoul(buf, NULL, 10); + /* Do not indicate cardbus for Netgear WNR834B V1 and V2 */ |