summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/patches-3.10/980-wnr834b_no_cardbus_invariant.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-09-16 21:09:10 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-09-16 21:09:10 +0000
commitc78e4fb220169b5ee8358f7b2582972c00b88fd7 (patch)
tree92a03712c7eb03a09d8d2ab2cdd1b54ea84cfb9e /target/linux/brcm47xx/patches-3.10/980-wnr834b_no_cardbus_invariant.patch
parent0294358e11cbcb9c754f4c6056a070e8b36b5dd8 (diff)
downloadmtk-20170518-c78e4fb220169b5ee8358f7b2582972c00b88fd7.zip
mtk-20170518-c78e4fb220169b5ee8358f7b2582972c00b88fd7.tar.gz
mtk-20170518-c78e4fb220169b5ee8358f7b2582972c00b88fd7.tar.bz2
brcm47xx: Add support for Huawei E970
This patch adds support for Huawei E970 wireless gateway devices. It has been tested on an E970 labelled as T-Mobile web'n'walk Box IV. E960/B970 should work too, from what I know it's basically the same hardware. The device has a Broadcom BCM5354 SoC and a built-in 3G USB modem. It uses a hardware watchdog which needs GPIO-7 to be toggled at least every 1-2 seconds. This patch uses gpio_wdt module (see my previous patch today) to take care of this. Tested and works: 3G wan, wlan+LED, VLAN config, failsafe using reset button, image to be used for upgrade from OEM firmware's web interface Link to the wiki page I've created: <http://wiki.openwrt.org/toh/huawei/e970> Issue: * lzma-loader crashes, so gzipped kernel is used. Presumably due to watchdog reset during kernel decompress. Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de> SVN-Revision: 38011
Diffstat (limited to 'target/linux/brcm47xx/patches-3.10/980-wnr834b_no_cardbus_invariant.patch')
-rw-r--r--target/linux/brcm47xx/patches-3.10/980-wnr834b_no_cardbus_invariant.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm47xx/patches-3.10/980-wnr834b_no_cardbus_invariant.patch b/target/linux/brcm47xx/patches-3.10/980-wnr834b_no_cardbus_invariant.patch
index 4550676..f30a4fb 100644
--- a/target/linux/brcm47xx/patches-3.10/980-wnr834b_no_cardbus_invariant.patch
+++ b/target/linux/brcm47xx/patches-3.10/980-wnr834b_no_cardbus_invariant.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm47xx/setup.c
+++ b/arch/mips/bcm47xx/setup.c
-@@ -120,6 +120,10 @@ static int bcm47xx_get_invariants(struct
+@@ -122,6 +122,10 @@ static int bcm47xx_get_invariants(struct
if (bcm47xx_nvram_getenv("cardbus", buf, sizeof(buf)) >= 0)
iv->has_cardbus_slot = !!simple_strtoul(buf, NULL, 10);