ramips: fix Xiaomi MiWiFi Mini board, image and profile names
[openwrt/staging/mkresin.git] / target / linux / ramips / base-files / etc / board.d / 02_network
index 4849238390e7b1af45cf351d232c9b1a694745c9..44aebcf6e716ebc3ee11a9dcaefb8e8039ac092f 100755 (executable)
@@ -104,6 +104,7 @@ ramips_setup_interfaces()
                ucidef_add_switch_vlan "switch0" "2" "0 9t"
                ;;
 
+        re6500 | \
        asl26555)
                ucidef_set_interface_lan "eth0.1"
                ucidef_add_switch "switch0" "1" "1"
@@ -138,10 +139,12 @@ ramips_setup_interfaces()
        mzk-750dhp | \
        whr-300hp2 | \
        whr-600d | \
+       oy-0001 | \
+       sap-g3200u3 | \
        wsr-600 | \
        wsr-1166 | \
        wt1520 | \
-       xiaomi-miwifi-mini |\
+       miwifi-mini |\
        y1)
                ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
                ucidef_add_switch "switch0" "1" "1"
@@ -225,7 +228,7 @@ ramips_setup_interfaces()
                ucidef_add_switch_vlan "switch0" "2" "6t"
                ;;
 
-       wr8305rt)
+       zbt-wr8305rt)
                ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
                ucidef_add_switch "switch0" "1" "1"
                ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4 6t"
@@ -259,6 +262,13 @@ ramips_setup_interfaces()
                ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 5t"
                ucidef_add_switch_vlan "switch0" "2" "0 5t"
                ;;
+
+       mzk-dp150n)
+               ucidef_set_interface_lan "eth0.1"
+               ucidef_add_switch "switch0" "1" "1"
+               ucidef_add_switch_vlan "switch0" "1" "0 4 6t"
+               ;;
+
        *)
                RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350)"`
                if [ -n "${RT3X5X}" ]; then
@@ -282,6 +292,11 @@ ramips_setup_macs()
                wan_mac=$(mtd_get_mac_binary devdata 7)
                ;;
 
+       oy-0001)
+               lan_mac=$(mtd_get_mac_binary factory 40)
+               wan_mac=$(mtd_get_mac_binary factory 46)
+               ;;
+
        w306r-v20)
                lan_mac=$(cat /sys/class/net/eth0/address)
                wan_mac=$(macaddr_add "$lan_mac" 5)