ramips: correct switch config of Youku yk1
[openwrt/openwrt.git] / target / linux / ramips / mt7620 / base-files / etc / board.d / 02_network
index e614de5010a5fa14e8e0eda49f943af100d6f609..398d275daee252f862999b91fb5eaf3b6f2bdfc8 100755 (executable)
@@ -24,7 +24,6 @@ ramips_setup_interfaces()
        ralink,mt7620a-mt7610e-evb|\
        ralink,mt7620a-v22sg-evb|\
        sanlinking,d240|\
-       youku,yk1|\
        zbtlink,zbt-ape522ii|\
        zbtlink,zbt-we826-16m|\
        zbtlink,zbt-we826-32m|\
@@ -217,6 +216,10 @@ ramips_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0:lan" "4:wan" "6@eth0"
                ;;
+       youku,yk1)
+               ucidef_add_switch "switch0" \
+                       "0:lan" "1:lan" "4:wan" "6@eth0"
+               ;;
        zbtlink,zbt-we1026-5g-16m)
                ucidef_add_switch "switch0" \
                        "0:lan" "6t@eth0"