[LEDE-DEV] [PATCH] mt7621: Fix LAN port order of WeVO W2914NS v2

perillamint perillamint at gentoo.moe
Fri Dec 2 20:07:05 PST 2016


Signed-off-by: perillamint <perillamint at gentoo.moe>
---
 target/linux/ramips/base-files/etc/board.d/02_network | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index e3e6550..9701b5a 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -87,7 +87,6 @@ ramips_setup_interfaces()
 	sap-g3200u3|\
 	sk-wb8|\
 	vr500|\
-	w2914nsv2|\
 	wf-2881|\
 	witi|\
 	wl-wn575a3|\
@@ -242,6 +241,10 @@ ramips_setup_interfaces()
 		ucidef_add_switch "switch0" \
 			"1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "5 at eth0"
 		;;
+	w2914nsv2)
+		ucidef_add_switch "switch0" \
+			"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "4:wan" "6 at eth0"
+		;;
 	wcr-150gn)
 		ucidef_add_switch "switch0" \
 			"0:lan" "6t at eth0"
-- 
2.10.2




More information about the Lede-dev mailing list