ramips: Add support for ZBT WG3526
[openwrt/staging/dedeckeh.git] / target / linux / ramips / base-files / etc / board.d / 02_network
index dce6002e127d2de9f6211a551d18ceb6e593bc13..3c958ae06b69ef06bc4cb6abe8f61ede5ed756f3 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,12 +68,14 @@ 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|\
@@ -84,6 +86,7 @@ ramips_setup_interfaces()
        wt1520|\
        y1|\
        zbt-wg2626|\
+       zbt-wg3526|\
        youku-yk1)
                ucidef_add_switch "switch0" \
                        "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0"
@@ -112,10 +115,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" \
@@ -138,7 +151,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"
                ;;
@@ -149,7 +163,8 @@ ramips_setup_interfaces()
        d105|\
        hpm|\
        na930|\
-       wli-tx4-ag300n)
+       wli-tx4-ag300n|\
+       wrh-300cr)
                ucidef_set_interface_lan "eth0"
                ;;
        e1700|\
@@ -204,6 +219,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"