ramips: add support for ELECOM WRH-300CR
[openwrt/openwrt.git] / target / linux / ramips / base-files / etc / board.d / 02_network
index aee0e724e30390ee44c6f626e69eef7a04b2046b..2863b8843f6030ed6b788de703c19ad13e38fad2 100755 (executable)
@@ -2,7 +2,7 @@
 
 . /lib/functions.sh
 . /lib/ramips.sh
-. /lib/functions/uci-defaults-new.sh
+. /lib/functions/uci-defaults.sh
 . /lib/functions/system.sh
 
 ramips_setup_rt3x5x_vlans()
@@ -68,16 +68,19 @@ ramips_setup_interfaces()
        firewrt|\
        hlk-rm04|\
        miwifi-mini|\
+       miwifi-nano|\
        mt7621|\
        mt7628|\
        mzk-750dhp|\
        mzk-w300nh2|\
        oy-0001|\
        pbr-m1|\
+       psg1208|\
        sap-g3200u3|\
        wf-2881|\
        whr-300hp2|\
        whr-600d|\
+       witi|\
        wsr-1166|\
        wsr-600|\
        wt1520|\
@@ -111,10 +114,20 @@ ramips_setup_interfaces()
        dir-860l-b1|\
        f5d8235-v1|\
        f5d8235-v2|\
+       gl-mt300a|\
+       gl-mt300n|\
+       gl-mt750|\
        hg255d|\
+       mzk-wdpr|\
+       jhr-n805r|\
+       jhr-n825r|\
+       jhr-n926r|\
        rt-n14u|\
+       ubnt-erx|\
        ur-326n4g|\
        wrtnode|\
+       wrtnode2p | \
+       wrtnode2r | \
        wt3020|\
        zbt-wa05)
                ucidef_add_switch "switch0" \
@@ -137,7 +150,8 @@ ramips_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "9@eth0"
                ;;
-       cf-wr800n)
+       cf-wr800n|\
+       ex2700)
                ucidef_add_switch "switch0" \
                        "4:lan" "6t@eth0"
                ;;
@@ -148,7 +162,8 @@ ramips_setup_interfaces()
        d105|\
        hpm|\
        na930|\
-       wli-tx4-ag300n)
+       wli-tx4-ag300n|\
+       wrh-300cr)
                ucidef_set_interface_lan "eth0"
                ;;
        e1700|\
@@ -203,6 +218,7 @@ ramips_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "1:lan" "2:lan" "0:wan" "6@eth0"
                ;;
+       zbt-we826|\
        zbt-wr8305rt)
                ucidef_add_switch "switch0" \
                        "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0"