summaryrefslogtreecommitdiff
path: root/target/linux/brcm-2.4/base-files/etc
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-09-16 18:14:29 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-09-16 18:14:29 +0000
commit43a802864a41b1a4112132cb29efd1eb544c631f (patch)
treedebc7874e7a152e0c4b9656b102aac21c98868f0 /target/linux/brcm-2.4/base-files/etc
parentb75288df95f64cb85530541d23365f9f270ef758 (diff)
downloadmtk-20170518-43a802864a41b1a4112132cb29efd1eb544c631f.zip
mtk-20170518-43a802864a41b1a4112132cb29efd1eb544c631f.tar.gz
mtk-20170518-43a802864a41b1a4112132cb29efd1eb544c631f.tar.bz2
Fix Buffalo WBR-G54 and WBR-B11 support (updated patch)
Signed-off-by: Roger Hardiman <roger@rjh.org.uk> SVN-Revision: 17598
Diffstat (limited to 'target/linux/brcm-2.4/base-files/etc')
-rwxr-xr-xtarget/linux/brcm-2.4/base-files/etc/init.d/netconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/brcm-2.4/base-files/etc/init.d/netconfig b/target/linux/brcm-2.4/base-files/etc/init.d/netconfig
index a53209e..09c7c28 100755
--- a/target/linux/brcm-2.4/base-files/etc/init.d/netconfig
+++ b/target/linux/brcm-2.4/base-files/etc/init.d/netconfig
@@ -113,6 +113,13 @@ start() {
}
}
}
+ # Buffalo WBR-B11 and Buffalo WBR-G54
+ if (nvram["boardtype"] == "bcm94710ap") {
+ c["vlan0ports"] = "0 1 2 3 4 5u"
+ c["vlan1ports"] = ""
+ c["lan_ifname"] = "eth0"
+ c["wan_ifname"] = "eth1"
+ }
if (nvram["boardtype"] == "0x478") {
# generic broadcom 4785 processor with 5397 switch?
c["vlan0ports"] = "1 2 3 4 8*"