summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/board.d/02_network
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-07-14 07:40:22 +0000
committerJohn Crispin <john@openwrt.org>2015-07-14 07:40:22 +0000
commitb6185738150c84e84522df3fc953e921528dbf23 (patch)
tree8f796e055533300215587924a82e30db323edd58 /target/linux/ramips/base-files/etc/board.d/02_network
parent0ac2ef13f7a095eb0e397676fae642f59dad59e4 (diff)
downloadmaster-31e0f0ae-b6185738150c84e84522df3fc953e921528dbf23.tar.gz
master-31e0f0ae-b6185738150c84e84522df3fc953e921528dbf23.tar.bz2
master-31e0f0ae-b6185738150c84e84522df3fc953e921528dbf23.zip
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
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d/02_network')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index bc1fc0191c..9fb3535149 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -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)