summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-06-15 11:09:49 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-06-15 11:09:49 +0000
commit8d0837caa22ef76b3b8653602197b3f9d80ba235 (patch)
tree8915bb17a534b842b4d684266d0ec326b059aaf7 /target/linux
parent7f7d2044e4ec7aad06734ceb824aa74fde29c986 (diff)
(2/6) bcm57xx: netconfig
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11467 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/brcm-2.4/base-files/etc/init.d/netconfig5
1 files changed, 5 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 65ffe320da..ec25543ee7 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
@@ -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") || \