aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-02-04 06:10:20 +0000
committerJohn Crispin <john@openwrt.org>2015-02-04 06:10:20 +0000
commitcde2225c7c0674fa1b334645cce8ada797cc6a24 (patch)
tree0e8d29130d2cc04dbbd173f3766868099fd06e3b /target/linux/ar71xx/base-files/etc
parenta63e94426de3c2768a9fcb6947702781394de7e1 (diff)
downloadupstream-cde2225c7c0674fa1b334645cce8ada797cc6a24.tar.gz
upstream-cde2225c7c0674fa1b334645cce8ada797cc6a24.tar.bz2
upstream-cde2225c7c0674fa1b334645cce8ada797cc6a24.zip
ar71xx: add support for the TP-LINK TL-WR941ND v5
This device is very similar to the TL-WR841N v8, only two LED GPIOs are different. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 44255
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/01_leds3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network1
3 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index af6107b489..03ca8640e7 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -226,7 +226,8 @@ get_status_led() {
tl-wr841n-v8 | \
tl-wa830re-v2 | \
tl-wr842n-v2 | \
- tl-wr941nd)
+ tl-wr941nd | \
+ tl-wr941nd-v5)
status_led="tp-link:green:system"
;;
archer-c5 | \
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 4dfe652743..61d0314ee9 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -370,7 +370,8 @@ tl-wr741nd-v4)
ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
;;
-tl-wr841n-v8)
+tl-wr841n-v8 | \
+tl-wr941nd-v5)
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 a223ae8fe5..e5228cf042 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -220,6 +220,7 @@ smart-300 |\
tl-mr3420-v2 |\
tl-wr841n-v8 |\
tl-wr842n-v2 |\
+tl-wr941nd-v5 |\
wnr2000-v3 |\
wnr2000-v4 |\
wnr2200 |\