ramips: Add support for the GnuBee Personal Cloud Two
[openwrt/staging/wigyori.git] / target / linux / ramips / base-files / etc / board.d / 02_network
index b8116c773b9074611e0038062e672b6aebd4b35a..1ccff892b1d31cbb507776f4d7d704e53b817e5b 100755 (executable)
@@ -57,7 +57,8 @@ ramips_setup_interfaces()
        omega2p | \
        timecloud|\
        w150m|\
-       widora-neo|\
+       widora,neo-16m|\
+       widora,neo-32m|\
        wnce2001|\
        zbt-cpe102|\
        zte-q7)
@@ -71,6 +72,7 @@ ramips_setup_interfaces()
                ;;
        3g-6200n|\
        ai-br100|\
+       alfa-network,ac1200rm|\
        d240|\
        db-wrt01|\
        dir-300-b7|\
@@ -111,7 +113,6 @@ ramips_setup_interfaces()
        wndr3700v5|\
        wt1520-4M|\
        wt1520-8M|\
-       y1|\
        youku-yk1|\
        zbt-ape522ii|\
        zbt-we1326|\
@@ -173,6 +174,8 @@ ramips_setup_interfaces()
        mzk-wdpr|\
        rb750gr3|\
        rt-n14u|\
+       tplink,c20-v4|\
+       tplink,c50-v3|\
        tplink,tl-mr3420-v5|\
        tl-wr840n-v4|\
        tl-wr840n-v5|\
@@ -190,8 +193,8 @@ ramips_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "6@eth0"
                ;;
-       c20|\
-       c50)
+       c50|\
+       tplink,c20-v1)
                ucidef_add_switch "switch0" \
                        "1:lan:3" "2:lan:4" "3:lan:1" "4:lan:2" "0:wan" "6@eth0"
                ;;
@@ -203,6 +206,10 @@ ramips_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0:lan" "4:lan" "6@eth0"
                ;;
+       gb-pc2)
+               ucidef_add_switch "switch0" \
+                       "4:lan" "0:wan" "6@eth0"
+               ;;
        gl-mt300n-v2)
                ucidef_add_switch "switch0" \
                        "1:lan" "0:wan" "6@eth0"
@@ -348,6 +355,11 @@ ramips_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "1:lan" "2:lan" "0:wan" "6@eth0"
                ;;
+       zbtlink,zbt-we1226|\
+       y1)
+               ucidef_add_switch "switch0" \
+                       "0:lan:2" "1:lan:1" "4:wan" "6@eth0"
+               ;;
        *)
                RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350)"`
                if [ -n "${RT3X5X}" ]; then