aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorDavid Lutz <kpanic@hirnduenger.de>2016-12-12 15:59:03 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2016-12-16 11:12:46 +0100
commitaada15af93db6bfb248239f011bafe22c613fbf3 (patch)
treef043529ea943d1a6b389981c080ce14fd336027e /target/linux/ar71xx/base-files/etc
parent93227e4d3fb81332f1dcb6eaa158ddf914ca67a6 (diff)
downloadupstream-aada15af93db6bfb248239f011bafe22c613fbf3.tar.gz
upstream-aada15af93db6bfb248239f011bafe22c613fbf3.tar.bz2
upstream-aada15af93db6bfb248239f011bafe22c613fbf3.zip
ar71xx: add support for TP-LINK TL-WR940N v4
Signed-off-by: David Lutz <kpanic@hirnduenger.de>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds1
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh1
3 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds
index dcdaab022d..a840e2f4cb 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -599,6 +599,7 @@ tl-wpa8630)
tl-wr802n-v1)
ucidef_set_led_wlan "wlan" "WLAN" "tp-link:blue:system" "phy0tpt"
;;
+tl-wr940n-v4|\
tl-wr941nd-v6)
ucidef_set_led_netdev "wan" "WAN" "tp-link:blue:wan" "eth0"
ucidef_set_led_switch "lan1" "LAN1" "tp-link:blue:lan1" "switch0" "0x10"
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index d23d243861..89076055c3 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -265,6 +265,7 @@ ar71xx_setup_interfaces()
tl-mr3420-v2|\
tl-wdr6500-v2|\
tl-wr841n-v8|\
+ tl-wr940n-v4|\
tl-wr941nd-v5|\
tl-wr941nd-v6|\
wnr1000-v2|\
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 6b88036dbb..d9d8a2953e 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -372,6 +372,7 @@ get_status_led() {
tl-wr720n-v3|\
tl-wr802n-v1|\
tl-wr810n|\
+ tl-wr940n-v4|\
tl-wr941nd-v6)
status_led="tp-link:blue:system"
;;