ralink: add mt7620n support
[15.05/openwrt.git] / target / linux / ramips / base-files / etc / uci-defaults / 02_network
index 1d77e7c..8ac2a4f 100755 (executable)
@@ -43,13 +43,15 @@ ramips_setup_interfaces()
        all5003 | \
        awm002-evb | \
        broadway | \
+       dcs-930| \
        wnce2001)
                ucidef_add_switch "switch0" "1" "0"
                ucidef_set_interface_lan "eth0"
                ;;
 
        3g-6200nl | \
-       wl-330n)
+       wl-330n | \
+       wmr330)
                ucidef_set_interface_lan "eth0.1"
                ;;
 
@@ -77,6 +79,9 @@ ramips_setup_interfaces()
                ucidef_add_switch_vlan "switch0" "2" "0 6t"
                ;;
 
+       dir-610-a1 | \
+       dir-300-b7 | \
+       dir-320-b1 | \
        dir-615-h1 | \
        mzk-w300nh2)
                ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
@@ -140,6 +145,11 @@ ramips_setup_interfaces()
                ucidef_set_interface_lan "eth0"
                ;;
 
+       whr-300hp2 |\
+       whr-600d)
+               ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+               ;;
+       
        *)
                RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350)"`
                if [ -n "${RT3X5X}" ]; then
@@ -176,6 +186,8 @@ ramips_setup_macs()
        ip2202 | \
        mpr-a1 | \
        mpr-a2 | \
+       dir-300-b7 | \
+       dir-320-b1 | \
        mzk-w300nh2 | \
        nw718 | \
        psr-680w | \
@@ -205,7 +217,8 @@ ramips_setup_macs()
 
        dir-300-b1 |\
        dir-300-b2 |\
-       dir-600-b1)
+       dir-600-b1 |\
+       dir-610-a1)
                lan_mac=$(mtd_get_mac_binary devdata 16388)
                wan_mac=$(macaddr_add "$lan_mac" 1)
                ;;