summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-12-15 21:34:19 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-12-15 21:34:19 +0000
commit3af206abb3ddf8bbbc2d057fd209d5870568d46b (patch)
treeb5f5dfe70cda6f954487de2803be358ff3553852 /target
parentfd393c0b05d304e2ce4178a9cd7a9e9067532cc4 (diff)
downloadmtk-20170518-3af206abb3ddf8bbbc2d057fd209d5870568d46b.zip
mtk-20170518-3af206abb3ddf8bbbc2d057fd209d5870568d46b.tar.gz
mtk-20170518-3af206abb3ddf8bbbc2d057fd209d5870568d46b.tar.bz2
ar71xx: add user-space support for the TP-Link TL-WA901ND v3 board
Based-on: http://patchwork.openwrt.org/patch/4508/ Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39074
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh1
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/01_leds3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
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 d5d6755..5d70cdb 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -139,6 +139,7 @@ get_status_led() {
tl-wa801nd-v2 | \
tl-wa901nd | \
tl-wa901nd-v2 | \
+ tl-wa901nd-v3 | \
tl-wdr3500 | \
tl-wr1041n-v2 | \
tl-wr1043nd | \
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 c8e8336..71e5799 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -260,7 +260,8 @@ tl-wr842n-v2)
ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
;;
-tl-wa801nd-v2)
+tl-wa801nd-v2 | \
+tl-wa901nd-v3)
ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
;;
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 1294591..ca57fbb 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -238,6 +238,7 @@ tl-wa850re |\
tl-wa801nd-v2 |\
tl-wa901nd |\
tl-wa901nd-v2 |\
+tl-wa901nd-v3 |\
tl-wr703n |\
wndap360 |\
mynet-rext |\
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index d89f097..5f300df 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -480,6 +480,9 @@ ar71xx_board_detect() {
*"TL-WA901ND v2")
name="tl-wa901nd-v2"
;;
+ *"TL-WA901ND v3")
+ name="tl-wa901nd-v3"
+ ;;
*"TL-WDR3500")
name="tl-wdr3500"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 4aeb88f..3c988ef 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -217,6 +217,7 @@ platform_check_image() {
tl-wa801nd-v2 | \
tl-wa901nd | \
tl-wa901nd-v2 | \
+ tl-wa901nd-v3 | \
tl-wdr3500 | \
tl-wdr4300 | \
tl-wr703n | \