ramips: fix LAN port order of WeVO W2914NS v2
authorYong-hyu, Ban <perillamint@gentoo.moe>
Sat, 3 Dec 2016 11:44:18 +0000 (20:44 +0900)
committerMathias Kresin <dev@kresin.me>
Sun, 4 Dec 2016 07:22:07 +0000 (08:22 +0100)
Signed-off-by: Yong-hyu, Ban <perillamint@gentoo.moe>
target/linux/ramips/base-files/etc/board.d/02_network

index 0eaa440eb26f7cac96ed70b0c93cc4bb683ae915..2af5c45d8af458d71c02b4d66f3bda27f30c8d53 100755 (executable)
@@ -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"