Fix Buffalo WBR-G54 and WBR-B11 support (updated patch)
authorFelix Fietkau <nbd@openwrt.org>
Wed, 16 Sep 2009 18:14:29 +0000 (18:14 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 16 Sep 2009 18:14:29 +0000 (18:14 +0000)
Signed-off-by: Roger Hardiman <roger@rjh.org.uk>
SVN-Revision: 17598

target/linux/brcm-2.4/base-files/etc/init.d/netconfig

index a53209e..09c7c28 100755 (executable)
@@ -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*"