diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-08-12 12:48:24 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-08-12 12:48:24 +0000 |
commit | 0618ae4136933b66a4df070be842ba0ae2e27adc (patch) | |
tree | d8c7a10ffb89f2240ec94fee861764ca1c678ca1 /target/linux/ramips/base-files/etc/uci-defaults/network | |
parent | 5af4d8c19ba4e9c06b8b3e63b4242a4f4e9fd5e5 (diff) |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33142 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc/uci-defaults/network')
-rwxr-xr-x | target/linux/ramips/base-files/etc/uci-defaults/network | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network index d1493da53..cbb0b85ff 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/network +++ b/target/linux/ramips/base-files/etc/uci-defaults/network @@ -94,7 +94,7 @@ ramips_setup_macs() ;; 3g-6200n | \ argus-atp52b | \ - b2c | \ + bc2 | \ f5d8235-v1 | \ nw718 | \ psr-680w | \ @@ -122,6 +122,12 @@ ramips_setup_macs() wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1) ;; + dir-620-a1) + lan_mac=$(ramips_get_mac_binary factory 4) + lan_mac=$(maccalc or "$lan_mac" "02:00:00:00:00:00") + wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1) + ;; + esr-9753 | \ ur-336un) lan_mac=$(ramips_get_mac_binary devdata 16388) |