diff options
author | John Crispin <blogic@openwrt.org> | 2013-08-14 19:35:27 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-08-14 19:35:27 +0000 |
commit | 7918a35c119290ec19274718b65bfa71cb65f397 (patch) | |
tree | 134147011951cbdccdf098e65409871888dfc78f /target/linux/ramips/base-files/lib | |
parent | 334322a5d95980851be1881582a886c61e09a5eb (diff) | |
download | master-187ad058-7918a35c119290ec19274718b65bfa71cb65f397.tar.gz master-187ad058-7918a35c119290ec19274718b65bfa71cb65f397.tar.bz2 master-187ad058-7918a35c119290ec19274718b65bfa71cb65f397.zip |
ramips: DIR-610-A1 Support
http://patchwork.openwrt.org/patch/3933/
Signed-off-by: Flavio Silveira <fggs@terra.com.br>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37785 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rw-r--r-- | target/linux/ramips/base-files/lib/preinit/06_set_iface_mac | 3 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/ramips.sh | 3 |
2 files changed, 5 insertions, 1 deletions
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" ;; |