summaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-02-13 16:05:52 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-02-13 16:05:52 +0000
commit3cefbe0036a99319fe7a8f19a80028704a013c88 (patch)
tree0e498d6a7553fd6de9e5acafb8cddd241971e0a6 /target/linux
parentecb8ddded5785d75acc2b7639c30691a6ab10e04 (diff)
brcm47xx: configure vlan correctly on some recent devices.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35587 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/brcm47xx/base-files/etc/init.d/netconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/brcm47xx/base-files/etc/init.d/netconfig b/target/linux/brcm47xx/base-files/etc/init.d/netconfig
index 303ab5696..229beb900 100755
--- a/target/linux/brcm47xx/base-files/etc/init.d/netconfig
+++ b/target/linux/brcm47xx/base-files/etc/init.d/netconfig
@@ -166,7 +166,10 @@ start() {
}
# generic broadcom 4716 processor with 53115 switch
- if (tolower(nvram["boardtype"]) == "0x04cf") {
+ if ((tolower(nvram["boardtype"]) == "0x04cf") || \
+ (tolower(nvram["boardtype"]) == "0xf5b2") || \
+ (tolower(nvram["boardtype"]) == "0xf52a") || \
+ (tolower(nvram["boardtype"]) == "0xf52e")) {
c["vlan0ports"] = "1 2 3 4 8*"
c["vlan1ports"] = "0 8"
}