diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-11-15 10:11:24 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-11-15 10:11:24 +0000 |
commit | ed036155eefb67ea1a13ee5419d368d170dc1e2e (patch) | |
tree | 3a7b7b8f9363882c664b816d60078989cc32a331 /target/linux/ar71xx/base-files | |
parent | 625cf61c5b68d72b90c91a9d60b0a6dec25b6caf (diff) | |
download | upstream-ed036155eefb67ea1a13ee5419d368d170dc1e2e.tar.gz upstream-ed036155eefb67ea1a13ee5419d368d170dc1e2e.tar.bz2 upstream-ed036155eefb67ea1a13ee5419d368d170dc1e2e.zip |
ar71xx: add user space support for the TL-WR842N/ND v2
Patch to add the user space support for the TL-WR842N/ND v2
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4354/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38814
Diffstat (limited to 'target/linux/ar71xx/base-files')
5 files changed, 8 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index b553205c03..e314bc03dd 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -146,6 +146,7 @@ get_status_led() { tl-wr841n-v1 | \ tl-wr841n-v7 | \ tl-wr841n-v8 | \ + tl-wr842n-v2 | \ tl-wr941nd) status_led="tp-link:green:system" ;; 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 cde54f3909..95b30c1b68 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -229,7 +229,8 @@ tl-wr741nd-v4) ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt" ;; -tl-wr841n-v8) +tl-wr841n-v8 |\ +tl-wr842n-v2) ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth0" ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x04" ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08" 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 49db21bdc1..3bbfe999b3 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -169,6 +169,7 @@ tl-wr941nd) tl-mr3420-v2 |\ tl-wr841n-v8 |\ +tl-wr842n-v2 |\ wnr2000-v3 |\ wnr2200 |\ wnr612-v2) diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index cde8856284..ebfe10f928 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -486,6 +486,9 @@ ar71xx_board_detect() { *"TL-WR841N/ND v8") name="tl-wr841n-v8" ;; + *"TL-WR842N/ND v2") + name="tl-wr842n-v2" + ;; *TL-WR941ND) name="tl-wr941nd" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 1eb9354057..cb36772d8d 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -204,6 +204,7 @@ platform_check_image() { tl-wr841n-v1 | \ tl-wr841n-v7 | \ tl-wr841n-v8 | \ + tl-wr842n-v2 | \ tl-wr941nd | \ tl-wr1041n-v2 | \ tl-wr1043nd | \ |