ramips: Fix network for routers without VLANs on eth0.
[openwrt/svn-archive/openwrt.git] / target / linux / ramips / base-files / etc / board.d / 02_network
old mode 100644 (file)
new mode 100755 (executable)
index 0a680d0..c54d46c
@@ -44,13 +44,14 @@ ramips_setup_interfaces()
        ht-tm02|\
        linkits7688 | \
        linkits7688d | \
+       m2m|\
        microwrt|\
        ncs601w|\
        w150m|\
        wnce2001|\
        zte-q7)
                ucidef_add_switch "switch0"
-               ucidef_add_switch_attr "switch0" "reset" "false"
+               ucidef_add_switch_attr "switch0" "enable" "false"
                ucidef_set_interface_lan "eth0"
                ;;
        3g-6200nl|\
@@ -68,6 +69,7 @@ ramips_setup_interfaces()
        firewrt|\
        hlk-rm04|\
        miwifi-mini|\
+       miwifi-nano|\
        mt7621|\
        mt7628|\
        mzk-750dhp|\
@@ -80,11 +82,13 @@ ramips_setup_interfaces()
        whr-300hp2|\
        whr-600d|\
        witi|\
+       wndr3700v5|\
        wsr-1166|\
        wsr-600|\
        wt1520|\
        y1|\
        zbt-wg2626|\
+       zbt-wg3526|\
        youku-yk1)
                ucidef_add_switch "switch0" \
                        "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0"
@@ -113,7 +117,14 @@ 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|\
@@ -151,10 +162,14 @@ ramips_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "9@eth0"
                ;;
+       cs-qr10|\
        d105|\
        hpm|\
+       mzk-ex300np|\
+       mzk-ex750np|\
        na930|\
-       wli-tx4-ag300n)
+       wli-tx4-ag300n|\
+       wrh-300cr)
                ucidef_set_interface_lan "eth0"
                ;;
        e1700|\
@@ -167,11 +182,6 @@ ramips_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "1:lan" "2:lan" "3:lan" "4:lan" "5:lan" "0:wan" "6@eth0"
                ;;
-       m2m)
-               ucidef_add_switch "switch0"
-               ucidef_add_switch_attr "switch0" "reset" "false"
-               ucidef_set_interface_lan "eth0"
-               ;;
        mlwg2|\
        wizard8800|\
        wl-330n|\