From: nbd Date: Wed, 16 Sep 2009 18:14:29 +0000 (+0000) Subject: Fix Buffalo WBR-G54 and WBR-B11 support (updated patch) X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=220c2d388ddd96bf1c1e4610e6b0c01ca63635ca Fix Buffalo WBR-G54 and WBR-B11 support (updated patch) Signed-off-by: Roger Hardiman git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17598 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 a53209e06..09c7c286f 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*"