ramips: DIR-860L-B1 fix switch port numbering
[openwrt/openwrt.git] / target / linux / ramips / base-files / etc / board.d / 02_network
index 5cc711949fe40f1fca763d3b11834a0a5d5f8552..2d8a90cd3e3cfa7a1d86d0e5464f0d08073d8386 100755 (executable)
@@ -157,7 +157,6 @@ ramips_setup_interfaces()
        c20i|\
        c50|\
        dir-645|\
-       dir-860l-b1|\
        f5d8235-v2|\
        gl-mt300a|\
        gl-mt300n|\
@@ -183,6 +182,10 @@ ramips_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "6@eth0"
                ;;
+       dir-860l-b1)
+               ucidef_add_switch "switch0" \
+                       "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "0:wan" "6@eth0"
+               ;;
        gl-mt300n-v2)
                ucidef_add_switch "switch0" \
                        "1:lan" "0:wan" "6@eth0"