ramips: adding support for OY-0001 Wireless Router
[openwrt.git] / target / linux / ramips / base-files / etc / board.d / 02_network
index bc1fc01..9fb3535 100755 (executable)
@@ -139,6 +139,7 @@ ramips_setup_interfaces()
        mzk-750dhp | \
        whr-300hp2 | \
        whr-600d | \
+       oy-0001 | \
        wsr-600 | \
        wsr-1166 | \
        wt1520 | \
@@ -283,6 +284,11 @@ ramips_setup_macs()
                wan_mac=$(mtd_get_mac_binary devdata 7)
                ;;
 
+       oy-0001)
+               lan_mac=$(mtd_get_mac_binary factory 40)
+               wan_mac=$(mtd_get_mac_binary factory 46)
+               ;;
+
        w306r-v20)
                lan_mac=$(cat /sys/class/net/eth0/address)
                wan_mac=$(macaddr_add "$lan_mac" 5)