Skip to content
Snippets Groups Projects
Commit ed036155 authored by Gabor Juhos's avatar Gabor Juhos
Browse files

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: default avatarMartijn Zilverschoon <thefriedzombie@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4354/


Signed-off-by: default avatarGabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38814
parent 625cf61c
No related branches found
No related tags found
No related merge requests found
......@@ -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"
;;
......
......@@ -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"
......
......@@ -169,6 +169,7 @@ tl-wr941nd)
tl-mr3420-v2 |\
tl-wr841n-v8 |\
tl-wr842n-v2 |\
wnr2000-v3 |\
wnr2200 |\
wnr612-v2)
......
......@@ -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"
;;
......
......@@ -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 | \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment