[LEDE-DEV] brcm47xx: Add switch topology for Asus WL-500W

Message ID 20170302215937.GA28816@guitar.localdomain
State New
Delegated to: Rafał Miłecki
Headers show

Commit Message

Mirko Parthey March 2, 2017, 9:59 p.m.
The four LAN ports are connected to switch ports 0..3 in sequence,
switch port 4 is not used, and switch port 5 is connected to the CPU.

The WAN port is not connected to the switch, but to another CPU interface.

Signed-off-by: Mirko Parthey <mirko.parthey@web.de>
---
 target/linux/brcm47xx/base-files/etc/board.d/01_detect | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/target/linux/brcm47xx/base-files/etc/board.d/01_detect b/target/linux/brcm47xx/base-files/etc/board.d/01_detect
index 357cc7f22432..5db479b6502c 100755
--- a/target/linux/brcm47xx/base-files/etc/board.d/01_detect
+++ b/target/linux/brcm47xx/base-files/etc/board.d/01_detect
@@ -139,7 +139,6 @@  detect_by_model() {
 		;;
 
 	"Asus WL500G" | \
-	"Asus WL500W" | \
 	"Microsoft MN-700")
 		ucidef_set_interfaces_lan_wan "eth0" "eth1"
 		;;
@@ -157,6 +156,7 @@  detect_by_model() {
 			"0:wan" "1:lan" "2:lan" "3:lan" "4:lan" "5@eth0"
 		;;
 
+	"Asus WL500W" | \
 	"Dell TrueMobile 2300")
 		ucidef_set_interface_wan "eth1"
 		ucidef_add_switch "switch0" \