ramips: fix Linksys RE6500 switch port mapping
[openwrt/openwrt.git] / target / linux / ramips / base-files / etc / board.d / 02_network
index baf619f7a1ab07cacc63d6f6a4e62852964f1851..2dd6793476c307e7d1a3d1ff6a44b95296051c51 100755 (executable)
@@ -124,7 +124,6 @@ ramips_setup_interfaces()
                        "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "5@eth0"
                ;;
        asl26555|\
-       re6500|\
        rp-n53)
                ucidef_add_switch "switch0" \
                        "1:lan" "2:lan" "3:lan" "4:lan" "6t@eth0"
@@ -235,11 +234,12 @@ ramips_setup_interfaces()
                        "0:lan" "4:lan" "6t@eth0"
                ;;
        newifi-d1)
-               ucidef_set_interface_lan_wan "eth0.1" "eth0.2"
                ucidef_add_switch "switch0" \
-                       "0:lan" "1:lan" "2:lan" "3:lan" "5:wan" "6t@eth0" "7t@eth0"
-               ucidef_add_switch "switch1" \
-                       "4:lan" "6t@eth0" "7t@eth0"
+               "1:lan:2" "2:lan:1" "4:wan" "6@eth0"
+               ;;
+       re6500)
+               ucidef_add_switch "switch0" \
+                       "0:lan:1" "1:lan:2" "2:lan:3" "3:lan:4" "6@eth0"
                ;;
        rt-n56u)
                ucidef_add_switch "switch0" \