Selaa lähdekoodia

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 <[email protected]>
Signed-off-by: Gabor Juhos <[email protected]>

SVN-Revision: 39074
Gabor Juhos 12 vuotta sitten
vanhempi
sitoutus
3af206abb3

+ 1 - 0
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 | \

+ 2 - 1
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"
 	;;

+ 1 - 0
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 |\

+ 3 - 0
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"
 		;;

+ 1 - 0
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 | \