diff options
author | John Crispin <blogic@openwrt.org> | 2014-06-02 14:43:35 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-06-02 14:43:35 +0000 |
commit | 7b35f478961c9b7ed4eececdebfaffd76f6b274c (patch) | |
tree | b5710c0113021db4bb52bb66f3bc5ce71d5405be /target/linux/ar71xx/base-files | |
parent | 1904d51b94fc1b7fbf8c0ff3ede95405b0e94d16 (diff) | |
download | upstream-7b35f478961c9b7ed4eececdebfaffd76f6b274c.tar.gz upstream-7b35f478961c9b7ed4eececdebfaffd76f6b274c.tar.bz2 upstream-7b35f478961c9b7ed4eececdebfaffd76f6b274c.zip |
ar71xx: add support for dlink dir-615-e1
Dlink dir-615-e1 can use dir-600-a1's image, but the image can't be
uploaded through dlink's normal firmware update web page.
Add profile for dir-615-e1 so the generated image can be uploaded
through the firmware update web page.
Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40969 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files')
6 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 33ffee7bf5..d555c5b603 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -48,6 +48,7 @@ get_status_led() { ;; dir-505-a1 |\ dir-600-a1 |\ + dir-615-e1 |\ dir-615-e4) status_led="d-link:green:power" ;; diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds index 4338a49c80..849fd564ac 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -85,6 +85,7 @@ dir-505-a1) ;; dir-600-a1|\ +dir-615-e1|\ dir-615-e4) ucidef_set_led_netdev "wan" "WAN" "d-link:green:wan" "eth1" ucidef_set_led_switch "lan1" "LAN1" "d-link:green:lan1" "switch0" "0x02" diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network index 62373e43e1..e8268cac8b 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -287,6 +287,7 @@ ap96 |\ airrouter |\ dir-600-a1 |\ dir-615-c1 |\ +dir-615-e1 |\ dir-615-e4 |\ ja76pf |\ mynet-n600 |\ diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration b/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration index 718a924f19..093fbc16ab 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration @@ -58,6 +58,7 @@ ap96|\ airrouter|\ dir-600-a1|\ dir-615-c1|\ +dir-615-e1|\ dir-615-e4|\ ja76pf|\ rb-750|\ diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index a136f4ae63..8682812ac8 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -280,6 +280,9 @@ ar71xx_board_detect() { *"DIR-600 rev. A1") name="dir-600-a1" ;; + *"DIR-615 rev. E1") + name="dir-615-e1" + ;; *"DIR-615 rev. E4") name="dir-615-e4" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 551d3ce27a..9315ac0134 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -146,6 +146,7 @@ platform_check_image() { dir-505-a1 | \ dir-600-a1 | \ dir-615-c1 | \ + dir-615-e1 | \ dir-615-e4 | \ dir-825-c1 | \ dir-835-a1 | \ |