ralink: Add support for samsung cy-swr1100 wireless router
[openwrt.git] / target / linux / ramips / base-files / lib / preinit / 06_set_iface_mac
index 96665bd..8538c13 100644 (file)
@@ -39,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 |\
@@ -47,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")
@@ -70,6 +75,7 @@ preinit_set_mac_address() {
        nbg-419n |\
        omni-emb |\
        omni-emb-hpm |\
+       px4885 |\
        tew-691gr |\
        tew-692gr |\
        w306r-v20 |\