From dc7164d4efd172fb412d24849dc477992251e4b7 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 14 Aug 2013 19:35:27 +0000 Subject: ramips: DIR-610-A1 Support http://patchwork.openwrt.org/patch/3933/ Signed-off-by: Flavio Silveira SVN-Revision: 37785 --- target/linux/ramips/base-files/lib/preinit/06_set_iface_mac | 3 ++- target/linux/ramips/base-files/lib/ramips.sh | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'target/linux/ramips/base-files/lib') diff --git a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac index a0d9b6123b..44cab3aa19 100644 --- a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac +++ b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac @@ -39,7 +39,8 @@ preinit_set_mac_address() { asl26555 |\ dir-300-b1 |\ dir-300-b2 |\ - dir-600-b1) + dir-600-b1 |\ + dir-610-a1) mac=$(mtd_get_mac_binary devdata 16388) ifconfig eth0 hw ether $mac 2>/dev/null ;; diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 3ec44d2fff..066f3bdb40 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -73,6 +73,9 @@ ramips_board_detect() { *"DIR-600 B2") name="dir-600-b2" ;; + *"DIR-610 A1") + name="dir-610-a1" + ;; *"DIR-620 A1") name="dir-620-a1" ;; -- cgit v1.2.3