ramips: add support for Cudy M1800
[openwrt/staging/wigyori.git] / target / linux / ramips / mt7621 / base-files / etc / board.d / 02_network
index f0ac4f1c4fdf5e06d382a6a716e6299fec9c0d69..dea433dec421d55cb3c3ac357f1cb85f24dbbcde 100644 (file)
@@ -78,6 +78,11 @@ ramips_setup_interfaces()
                uci add_list firewall.@zone[1].network='eth_data'
                uci add_list firewall.@zone[1].network='eth_om'
                ;;
+       cudy,m1800|\
+       yuncore,ax820|\
+       zyxel,nt7101)
+               ucidef_set_interfaces_lan_wan "lan" "wan"
+               ;;
        gnubee,gb-pc1)
                ucidef_set_interface_lan "ethblack ethblue"
                ;;
@@ -117,10 +122,6 @@ ramips_setup_interfaces()
        ubnt,usw-flex)
                ucidef_set_interface_lan "lan1 lan2 lan3 lan4 lan5"
                ;;
-       yuncore,ax820|\
-       zyxel,nr7101)
-               ucidef_set_interfaces_lan_wan "lan" "wan"
-               ;;
        zyxel,wap6805)
                ucidef_set_interface_lan "lan1 lan2 lan3 lan4"
                ucidef_set_interface "qtn" ifname "eth1" protocol "static" ipaddr "1.1.1.1" netmask "255.255.255.0"