diff options
author | John Crispin <john@openwrt.org> | 2012-07-24 20:38:43 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2012-07-24 20:38:43 +0000 |
commit | 799d6deab07bb0412b5f18c1c35a21183c9dbd87 (patch) | |
tree | eff79339c492e86022358fe0c8e09595bbf55277 /target/linux/ramips/base-files | |
parent | b891eec7001663f8ec4ca4a141ad31ea78163350 (diff) | |
download | upstream-799d6deab07bb0412b5f18c1c35a21183c9dbd87.tar.gz upstream-799d6deab07bb0412b5f18c1c35a21183c9dbd87.tar.bz2 upstream-799d6deab07bb0412b5f18c1c35a21183c9dbd87.zip |
D-Link DAP-1350 initial support
The initial support for the D-Link DAP-1350.
USB related functionality is not tested.
Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>
SVN-Revision: 32821
Diffstat (limited to 'target/linux/ramips/base-files')
5 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 68aa0ee863..c1f594989c 100755 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -39,6 +39,9 @@ get_status_led() { dir-300-b1 | dir-600-b1 | dir-600-b2) status_led="d-link:green:status" ;; + dap-1350) + status_led="d-link:blue:power" + ;; esr-9753) status_led="esr-9753:orange:power" ;; diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom index 841aac4f3e..d29335799f 100644 --- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom +++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom @@ -38,6 +38,10 @@ case "$FIRMWARE" in rt2x00_eeprom_extract "devdata" 16384 272 ;; + dap-1350) + rt2x00_eeprom_extract "devdata" 0 272 + ;; + rt-n10-plus | \ rt-g32-b1) rt2x00_eeprom_extract "devconf" 0 272 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 126c475a4b..f701b7e075 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 @@ -29,6 +29,10 @@ preinit_set_mac_address() { mac=$(ramips_get_mac_binary devdata 16388) ifconfig eth0 hw ether $mac 2>/dev/null ;; + dap-1350) + mac=$(ramips_get_mac_binary devdata 46) + ifconfig eth0 hw ether $mac 2>/dev/null + ;; all0256n |\ all5002 | \ fonera20n |\ diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 2667267ac1..0089e0ddcc 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" ;; + *"DAP-1350") + name="dap-1350" + ;; *"ESR-9753") name="esr-9753" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 2791c8d742..eb9a0d1206 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 | \ + dap-1350 | \ esr-9753 | \ fonera20n | \ freestation5 | \ |