Update the netconfig script to support boardtype 0x478.  I've tested this
on the wrt350n, hopefully it will match the 600n as well.

Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>

diff -urN --exclude=.svn 
target.old/linux/brcm-2.4/base-files/etc/init.d/netconfig 
target/linux/brcm-2.4/base-files/etc/init.d/netconfig
--- target.old/linux/brcm-2.4/base-files/etc/init.d/netconfig   2008-06-02 
14:34:01.000000000 -0400
+++ target/linux/brcm-2.4/base-files/etc/init.d/netconfig       2008-06-02 
14:35:49.000000000 -0400
@@ -110,6 +110,11 @@
                                }
                        }
                }
+               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") || \


_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to