aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/base-files/etc/init.d
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2013-02-13 16:05:52 +0000
committerHauke Mehrtens <hauke@openwrt.org>2013-02-13 16:05:52 +0000
commit6891eecd2a3e2ee45729916b928db607adaf67a0 (patch)
tree0e498d6a7553fd6de9e5acafb8cddd241971e0a6 /target/linux/brcm47xx/base-files/etc/init.d
parentd2f74db548f4aca15649593cc81e6b4843edbe72 (diff)
downloadmaster-187ad058-6891eecd2a3e2ee45729916b928db607adaf67a0.tar.gz
master-187ad058-6891eecd2a3e2ee45729916b928db607adaf67a0.tar.bz2
master-187ad058-6891eecd2a3e2ee45729916b928db607adaf67a0.zip
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/brcm47xx/base-files/etc/init.d')
-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 303ab56966..229beb900c 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"
}