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

perillamint perillamint at gentoo.moe
Sat Dec 3 03:44:18 PST 2016


From: "Yong-hyu, Ban" <perillamint at gentoo.moe>

Signed-off-by: Yong-hyu, Ban <perillamint at gentoo.moe>
---

Changelog:
v2: Real-name signed-off message
v3: Add missing WAN port number.

 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..aac321d 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:5" "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