ralink: fix lenovo y1 wan port mapping
authorJohn Crispin <john@openwrt.org>
Fri, 12 Dec 2014 16:17:31 +0000 (16:17 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 12 Dec 2014 16:17:31 +0000 (16:17 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43667

target/linux/ramips/base-files/etc/board.d/02_network

index 45720c3ab5c670c3748ab98a6df5f3c7797da4a3..b519cfdd3c864032c1049266c6984f3fabc6a530 100755 (executable)
@@ -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"