(2/6) bcm57xx: netconfig
[openwrt/openwrt.git] / target / linux / brcm-2.4 / base-files / etc / init.d / netconfig
index 65ffe320da87153c53b64abb7fab3fe99a3b4b3c..ec25543ee70ab25d761d4bdf893ff9133ed46a11 100755 (executable)
@@ -102,6 +102,11 @@ start() {
                                }
                        }
                }
+               if (nvram["boardtype"] == "0x478") {
+                       # generic broadcom 4785 processor with 5397 switch?
+                       c["vlan0ports"] = "1 2 3 4 8*"
+                       c["vlan1ports"] = "0 8"
+               }
 
                # WAP54G
                if ((nvram["boardnum"] == "2") || \