aboutsummaryrefslogtreecommitdiffstats
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
commitcc1804f71984dd83e37a163b3f361d9247b16c6e (patch)
treee3de3d3b9c4972f8644869c04f042e5ca6147a75 /target/linux/brcm-2.4/base-files/etc
parentcf15b9d70940e3e38ea6714af029b719c63a1894 (diff)
downloadupstream-cc1804f71984dd83e37a163b3f361d9247b16c6e.tar.gz
upstream-cc1804f71984dd83e37a163b3f361d9247b16c6e.tar.bz2
upstream-cc1804f71984dd83e37a163b3f361d9247b16c6e.zip
Fix Buffalo WBR-G54 and WBR-B11 support (updated patch)
Signed-off-by: Roger Hardiman <roger@rjh.org.uk> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17598 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 a53209e06a..09c7c286fc 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*"