aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-08-12 12:48:24 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-08-12 12:48:24 +0000
commit936511304079e29d09b385ee3fbd1a233465c198 (patch)
treef5f94c5a4bc37089d2434378c9f6d6b270c69f9b /target/linux/ramips/base-files/lib
parent9a049babb7da3e9cd1f7aa260f4ba0241148a092 (diff)
downloadupstream-936511304079e29d09b385ee3fbd1a233465c198.tar.gz
upstream-936511304079e29d09b385ee3fbd1a233465c198.tar.bz2
upstream-936511304079e29d09b385ee3fbd1a233465c198.zip
ramips: add D-Link DIR-620 A1 support
Full functionality runtime tested, installation via OEM web-interface requires a follow-up patch. Thanks go to Sergey Vasilyugin for his patch that pointed me at the missing bits (including the antiparallel wps led). Signed-off-by: Paul Fertser <fercerpav@gmail.com> SVN-Revision: 33142
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rw-r--r--target/linux/ramips/base-files/lib/preinit/06_set_iface_mac1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
3 files changed, 5 insertions, 0 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 f701b7e075..a6c88ed961 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
@@ -13,6 +13,7 @@ preinit_set_mac_address() {
ifconfig eth0 hw ether $mac 2>/dev/null
;;
bc2 |\
+ dir-620-a1 |\
esr-9753 |\
freestation5 |\
nw718 |\
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 0089e0ddcc..8dcda484a6 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -80,6 +80,9 @@ ramips_board_name() {
*"DIR-600 B2")
name="dir-600-b2"
;;
+ *"DIR-620 A1")
+ name="dir-620-a1"
+ ;;
*"DAP-1350")
name="dap-1350"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index eb9a0d1206..2548e1d6da 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -21,6 +21,7 @@ platform_check_image() {
dir-300-b1 | \
dir-600-b1 | \
dir-600-b2 | \
+ dir-620-a1 | \
dap-1350 | \
esr-9753 | \
fonera20n | \