diff options
author | John Crispin <john@openwrt.org> | 2016-04-09 10:26:46 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2016-04-09 10:26:46 +0000 |
commit | 5f1a82ec4ffebc668a739d2a2fb72da8dbbeaaa5 (patch) | |
tree | a8d8d3656fc242a86861e56af0d92d64e77f1ab0 /target/linux/ar71xx/base-files | |
parent | d9799dea89ea1da5bbc0c9146a2e1ae5e54bd742 (diff) | |
download | upstream-5f1a82ec4ffebc668a739d2a2fb72da8dbbeaaa5.tar.gz upstream-5f1a82ec4ffebc668a739d2a2fb72da8dbbeaaa5.tar.bz2 upstream-5f1a82ec4ffebc668a739d2a2fb72da8dbbeaaa5.zip |
ar71xx: add TP-Link TL-WA901ND-v4 support
Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com>
SVN-Revision: 49158
Diffstat (limited to 'target/linux/ar71xx/base-files')
5 files changed, 11 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 ab19a61f75..b2469bf4d8 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -626,6 +626,11 @@ tl-wa901nd-v3) ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt" ;; +tl-wa901nd-v4) + ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0" + ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt" + ;; + tl-wr941nd | \ tl-wr1041n-v2) ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt" 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 c6a20149b5..8fdfa0700e 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -364,6 +364,7 @@ tl-wa801nd-v2 |\ tl-wa901nd |\ tl-wa901nd-v2 |\ tl-wa901nd-v3 |\ +tl-wa901nd-v4 |\ tl-wr703n |\ tube2h |\ unifiac |\ diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 1cf6e4c301..1f9bd3f706 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -305,6 +305,7 @@ get_status_led() { tl-wa901nd | \ tl-wa901nd-v2 | \ tl-wa901nd-v3 | \ + tl-wa901nd-v4 | \ tl-wdr3320-v2 | \ tl-wdr3500 | \ tl-wr1041n-v2 | \ diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index b3eda6c469..3d4541ea00 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -865,6 +865,9 @@ ar71xx_board_detect() { *"TL-WA901ND v3") name="tl-wa901nd-v3" ;; + *"TL-WA901ND v4") + name="tl-wa901nd-v4" + ;; *"TL-WDR3320 v2") name="tl-wdr3320-v2" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 86375a9acc..d44ece560c 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -366,6 +366,7 @@ platform_check_image() { tl-wa901nd | \ tl-wa901nd-v2 | \ tl-wa901nd-v3 | \ + tl-wa901nd-v4 | \ tl-wdr3320-v2 | \ tl-wdr3500 | \ tl-wdr4300 | \ |