From 6c4e7b22eb0f564f539dc0951c394b38b60ff381 Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Fri, 12 Dec 2014 16:17:31 +0000
Subject: [PATCH] ralink: fix lenovo y1 wan port mapping

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43667
---
 target/linux/ramips/base-files/etc/board.d/02_network | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 45720c3ab5..b519cfdd3c 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -123,7 +123,8 @@ ramips_setup_interfaces()
 	whr-600d | \
 	wsr-600 | \
 	wsr-1166 | \
-	wt1520)
+	wt1520 | \
+	y1)
 		ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
 		ucidef_add_switch "switch0" "1" "1"
 		ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 6t"
@@ -212,7 +213,6 @@ ramips_setup_interfaces()
 		ucidef_add_switch_vlan "switch0" "2" "4 6t"
 		;;
 
-	y1 |\
 	y1s)
 		ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
 		ucidef_add_switch "switch0" "1" "1"
-- 
GitLab