From: Gabor Juhos Date: Sun, 15 Dec 2013 21:34:19 +0000 (+0000) Subject: ar71xx: add user-space support for the TP-Link TL-WA901ND v3 board X-Git-Tag: reboot~8383 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3af206abb3ddf8bbbc2d057fd209d5870568d46b;p=openwrt%2Fstaging%2Fnoltari.git 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 Signed-off-by: Gabor Juhos SVN-Revision: 39074 --- diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index d5d675509a..5d70cdb3bc 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 c8e8336f07..71e57990c2 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 1294591835..ca57fbbcce 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 d89f097a08..5f300df0e5 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 4aeb88f023..3c988ef937 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 | \