ralink: add support for wrtnode
[openwrt/svn-archive/archive.git] / target / linux / ramips / base-files / etc / uci-defaults / 02_network
index a9914fdb872d77c8e691e3d73fbf07cb7d132ff4..1cbf7bf0224dd193b633e9edde7e5e04aa165d8c 100755 (executable)
@@ -65,6 +65,13 @@ ramips_setup_interfaces()
                ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
                ;;
 
+       br-6475nd)
+               ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+               ucidef_add_switch "switch0" "1" "1"
+               ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 9t"
+               ucidef_add_switch_vlan "switch0" "2" "0 9t"
+               ;;
+
        asl26555)
                ucidef_set_interface_lan "eth0.1"
                ucidef_add_switch "switch0" "1" "1"
@@ -75,6 +82,7 @@ ramips_setup_interfaces()
        dir-300-b7 | \
        dir-320-b1 | \
        dir-615-h1 | \
+       hlk-rm04 | \
        mzk-w300nh2)
                ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
                ucidef_add_switch "switch0" "1" "1"
@@ -88,6 +96,7 @@ ramips_setup_interfaces()
        f5d8235-v2 | \
        hg255d | \
        rt-n14u | \
+       wrtnode | \
        ur-326n4g)
                ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
                ucidef_add_switch "switch0" "1" "1"
@@ -138,6 +147,7 @@ ramips_setup_interfaces()
                ;;
 
        d105 | \
+       na930 | \
        omni-emb-hpm|\
        wli-tx4-ag300n)
                ucidef_set_interface_lan "eth0"
@@ -165,6 +175,11 @@ ramips_setup_macs()
                wan_mac=$(macaddr_add "$lan_mac" 1)
                ;;
 
+       br-6475nd)
+               lan_mac=$(mtd_get_mac_binary devdata 13)
+               wan_mac=$(mtd_get_mac_binary devdata 7)
+               ;;
+
        w306r-v20)
                wan_mac=$(macaddr_add "$lan_mac" 5)
                ;;