ralink: Add support for samsung cy-swr1100 wireless router
[openwrt.git] / target / linux / ramips / base-files / lib / preinit / 06_set_iface_mac
index 44cab3a..8538c13 100644 (file)
@@ -13,6 +13,7 @@ preinit_set_mac_address() {
        3g-6200nl |\
        3g300m | \
        dir-620-d1 |\
+       dir-300-b7 | \
        w150m | \
        mzk-w300nh2 |\
        wl-330n |\
@@ -26,9 +27,11 @@ preinit_set_mac_address() {
        dir-620-a1 |\
        esr-9753 |\
        freestation5 |\
+       hlk-rm04 | \
        mpr-a1 | \
        mpr-a2 | \
-       nw718 |\
+       dir-300-b7 | \
+       dir-320-b1 | \
        psr-680w |\
        rt-n56u |\
        sl-r7205)
@@ -36,6 +39,10 @@ preinit_set_mac_address() {
                mac=$(macaddr_setbit_la "$mac")
                ifconfig eth0 hw ether $mac 2>/dev/null
                ;;
+       br-6475nd)
+               mac=$(mtd_get_mac_binary devdata 13)
+               ifconfig eth0 hw ether $mac 2>/dev/null
+               ;;
        asl26555 |\
        dir-300-b1 |\
        dir-300-b2 |\
@@ -44,6 +51,7 @@ preinit_set_mac_address() {
                 mac=$(mtd_get_mac_binary devdata 16388)
                 ifconfig eth0 hw ether $mac 2>/dev/null
                 ;;
+       cy-swr1100 |\
        dir-645)
                mac=$(mtd_get_mac_ascii nvram lanmac)
                mac=$(macaddr_setbit_la "$mac")
@@ -67,6 +75,7 @@ preinit_set_mac_address() {
        nbg-419n |\
        omni-emb |\
        omni-emb-hpm |\
+       px4885 |\
        tew-691gr |\
        tew-692gr |\
        w306r-v20 |\