2
0
forked from Ivasoft/openwrt

ramips: adding support for OY-0001 Wireless Router

Adding support for OY-0001 Wireless Router.
OY-0001 is a wireless router made by oyewifi.com. Below is the details:
MT7620A, 128MB DDR2, 16MB FLASH, SD Slot, USB 2.0, 4 x LAN + 1 x WAN.

Signed-off-by: Tom Deng <2579131212@qq.com>

SVN-Revision: 46349
This commit is contained in:
John Crispin
2015-07-14 07:40:22 +00:00
parent 0ac2ef13f7
commit b618573815
6 changed files with 139 additions and 0 deletions

View File

@@ -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)