diff options
author | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-02-13 16:05:52 +0000 |
---|---|---|
committer | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-02-13 16:05:52 +0000 |
commit | 3cefbe0036a99319fe7a8f19a80028704a013c88 (patch) | |
tree | 0e498d6a7553fd6de9e5acafb8cddd241971e0a6 /target/linux | |
parent | ecb8ddded5785d75acc2b7639c30691a6ab10e04 (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-x | target/linux/brcm47xx/base-files/etc/init.d/netconfig | 5 |
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" } |