2
0
forked from Ivasoft/openwrt

ar71xx: add support for the TP-Link TL-WA901ND v2 board

Patch-by: Jonathan Benett <jbscience87@gmail.com>

SVN-Revision: 26119
This commit is contained in:
Gabor Juhos
2011-03-13 15:08:31 +00:00
parent 72b3c18da1
commit 8eb616de82
12 changed files with 177 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
config 'interface' 'loopback'
option 'ifname' 'lo'
option 'proto' 'static'
option 'ipaddr' '127.0.0.1'
option 'netmask' '255.0.0.0'
config 'interface' 'eth'
option 'ifname' 'eth0'
option 'proto' 'static'
option 'ipaddr' '192.168.1.1'
option 'netmask' '255.255.255.0'

View File

@@ -90,6 +90,9 @@ get_status_led() {
tl-wa901nd)
status_led="tl-wa901nd:green:system"
;;
tl-wa901nd-v2)
status_led="tl-wa901nd-v2:green:system"
;;
tl-wr1043nd)
status_led="tl-wr1043nd:green:system"
;;

View File

@@ -112,6 +112,9 @@ ar71xx_board_name() {
*TL-WA901ND)
name="tl-wa901nd"
;;
*"TL-WA901ND v2")
name="tl-wa901nd-v2"
;;
*TL-WR741ND)
name="tl-wr741nd"
;;

View File

@@ -76,7 +76,7 @@ platform_check_image() {
}
return 0
;;
tl-mr3220 | tl-mr3420 | tl-wa901nd | tl-wr741nd | tl-wr841n-v1 | tl-wr941nd | tl-wr1043nd)
tl-mr3220 | tl-mr3420 | tl-wa901nd | tl-wa901nd-v2 | tl-wr741nd | tl-wr841n-v1 | tl-wr941nd | tl-wr1043nd)
[ "$magic" != "0100" ] && {
echo "Invalid image type."
return 1