From 54ca3eed5d3d0c9e97c8b27ac447e803f867e373 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Wed, 13 Feb 2013 16:05:52 +0000 Subject: [PATCH] brcm47xx: configure vlan correctly on some recent devices. SVN-Revision: 35587 --- target/linux/brcm47xx/base-files/etc/init.d/netconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/target/linux/brcm47xx/base-files/etc/init.d/netconfig b/target/linux/brcm47xx/base-files/etc/init.d/netconfig index 303ab569662..229beb900c4 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" } -- 2.30.2