summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/base-files/etc/init.d/netconfig
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2012-12-13 18:57:38 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2012-12-13 18:57:38 +0000
commit6c8efbfdc08ad244e7e61dbdafe5c34977ffadbd (patch)
tree216ecf20e2bc2d0e9d0765621583ec7dc1142dc7 /target/linux/brcm47xx/base-files/etc/init.d/netconfig
parent588b42a8b792891e2ff4efc10eb74d5ef6659d21 (diff)
downloadmtk-20170518-6c8efbfdc08ad244e7e61dbdafe5c34977ffadbd.zip
mtk-20170518-6c8efbfdc08ad244e7e61dbdafe5c34977ffadbd.tar.gz
mtk-20170518-6c8efbfdc08ad244e7e61dbdafe5c34977ffadbd.tar.bz2
brcm47xx: Additional BCM4716 support
Additional BCM4716 support. Still needs working ethernet driver. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 34672
Diffstat (limited to 'target/linux/brcm47xx/base-files/etc/init.d/netconfig')
-rwxr-xr-xtarget/linux/brcm47xx/base-files/etc/init.d/netconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/base-files/etc/init.d/netconfig b/target/linux/brcm47xx/base-files/etc/init.d/netconfig
index fb41ddd..b4840c2 100755
--- a/target/linux/brcm47xx/base-files/etc/init.d/netconfig
+++ b/target/linux/brcm47xx/base-files/etc/init.d/netconfig
@@ -165,6 +165,12 @@ start() {
c["vlan1ports"] = "0 8"
}
+ # generic broadcom 4716 processor with 53115 switch
+ if (nvram["boardtype"] == "0x04cf") {
+ c["vlan0ports"] = "1 2 3 4 8*"
+ c["vlan1ports"] = "0 8"
+ }
+
# WAP54G
if ((nvram["boardnum"] == "2") || \
(nvram["boardnum"] == "1024")) {