ath79: add support for COMFAST CF-E560AC
[openwrt/staging/wigyori.git] / target / linux / ath79 / generic / base-files / etc / board.d / 02_network
index f5196be77fa1b6e4f0c8be5de1327a9326da7e8b..a3fcf357157d9fe58a5e683f15c47ea0fba3a594 100755 (executable)
@@ -103,6 +103,13 @@ ath79_setup_interfaces()
        ubnt,routerstation)
                ucidef_set_interfaces_lan_wan "eth1" "eth0"
                ;;
+       comfast,cf-e560ac|\
+       tplink,archer-c60-v1|\
+       tplink,archer-c60-v2)
+               ucidef_set_interface_wan "eth1"
+               ucidef_add_switch "switch0" \
+                       "0@eth0" "1:lan" "2:lan" "3:lan" "4:lan"
+               ;;
        comfast,cf-wr650ac-v1|\
        comfast,cf-wr650ac-v2)
                ucidef_add_switch "switch0" \
@@ -228,12 +235,6 @@ ath79_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0@eth1" "2:lan" "3:lan" "4:lan" "5:lan" "6@eth0" "1:wan"
                ;;
-       tplink,archer-c60-v1|\
-       tplink,archer-c60-v2)
-               ucidef_set_interface_wan "eth1"
-               ucidef_add_switch "switch0" \
-                       "0@eth0" "1:lan" "2:lan" "3:lan" "4:lan"
-               ;;
        tplink,archer-d50-v1)
                ucidef_add_switch "switch0" \
                        "0@eth0" "2:lan:3" "3:lan:2" "4:lan:1" "1:wan"