brcm47xx: configure vlan correctly on some recent devices.

SVN-Revision: 35587
lede-17.01
Hauke Mehrtens 2013-02-13 16:05:52 +00:00
parent 17c18e23ab
commit 54ca3eed5d
1 changed files with 4 additions and 1 deletions

View File

@ -166,7 +166,10 @@ start() {
} }
# generic broadcom 4716 processor with 53115 switch # 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["vlan0ports"] = "1 2 3 4 8*"
c["vlan1ports"] = "0 8" c["vlan1ports"] = "0 8"
} }