From 377eac0ceb7145be6e294cbd077b9e562776fd50 Mon Sep 17 00:00:00 2001
From: "Yong-hyu, Ban" <perillamint@gentoo.moe>
Date: Sat, 3 Dec 2016 20:44:18 +0900
Subject: ramips: fix LAN port order of WeVO W2914NS v2

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

(limited to 'target/linux/ramips/base-files/etc')

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 0eaa440eb2..2af5c45d8a 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@eth0"
 		;;
+	w2914nsv2)
+		ucidef_add_switch "switch0" \
+			"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "4:wan:5" "6@eth0"
+		;;
 	wcr-150gn)
 		ucidef_add_switch "switch0" \
 			"0:lan" "6t@eth0"
-- 
cgit v1.2.3