ramips: Add support for the NixCore X1 Module
[openwrt/staging/yousong.git] / target / linux / ramips / base-files / etc / board.d / 02_network
index be1912a1b013540a9c9a558e7103a5f60143d976..f8b8ec66bdc791dcf3ddb2ff3bfc595c400275a7 100755 (executable)
@@ -77,6 +77,7 @@ ramips_setup_interfaces()
        mt7628|\
        mzk-750dhp|\
        mzk-w300nh2|\
+       nixcore|\
        oy-0001|\
        pbr-m1|\
        psg1208|\
@@ -189,10 +190,12 @@ ramips_setup_interfaces()
                ;;
        mlwg2|\
        wizard8800|\
-       wl-330n|\
-       wmr-300)
+       wl-330n)
                ucidef_set_interface_lan "eth0.1"
                ;;
+       wmr-300)
+               ucidef_set_interface_lan "eth0"
+               ;;
        mzk-dp150n|\
        vocore)
                ucidef_add_switch "switch0" \
@@ -224,6 +227,7 @@ ramips_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "1:lan" "2:lan" "0:wan" "6@eth0"
                ;;
+       zbt-ape522ii|\
        zbt-we826|\
        zbt-wr8305rt)
                ucidef_add_switch "switch0" \
@@ -285,6 +289,10 @@ ramips_setup_macs()
                lan_mac=$(mtd_get_mac_ascii nvram lanmac)
                wan_mac=$(mtd_get_mac_ascii nvram wanmac)
                ;;
+       dir-860l-b1)
+               lan_mac=$(mtd_get_mac_ascii factory lanmac)
+               wan_mac=$(mtd_get_mac_ascii factory wanmac)
+               ;;
        e1700)
                wan_mac=$(mtd_get_mac_ascii config WAN_MAC_ADDR)
                ;;