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 4982566de7863bdea28ca69b4fd2c46e8c8dcb0f..44aebcf6e716ebc3ee11a9dcaefb8e8039ac092f 100755 (executable)
@@ -53,6 +53,7 @@ ramips_setup_interfaces()
        all5003 | \
        broadway | \
        dcs-930| \
+       dcs-930l-b1| \
        ht-tm02| \
        ncs601w | \
        wnce2001)
@@ -103,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"
@@ -129,6 +131,7 @@ ramips_setup_interfaces()
        dir-320-b1 | \
        dir-615-h1 | \
        firewrt | \
+       pbr-m1 | \
        hlk-rm04 | \
        mt7621 | \
        mt7628 | \
@@ -136,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"
@@ -223,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"
@@ -257,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
@@ -280,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)