diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-03-13 15:08:31 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-03-13 15:08:31 +0000 |
commit | 8eb616de8248f4e85b392ae0dd9b037dfc011202 (patch) | |
tree | a679b05326791fdd4994d6791c9f56cb972ef186 /target/linux/ar71xx/base-files | |
parent | 72b3c18da19cbc5571a855c6ab3bfd14c7c84301 (diff) | |
download | upstream-8eb616de8248f4e85b392ae0dd9b037dfc011202.tar.gz upstream-8eb616de8248f4e85b392ae0dd9b037dfc011202.tar.bz2 upstream-8eb616de8248f4e85b392ae0dd9b037dfc011202.zip |
ar71xx: add support for the TP-Link TL-WA901ND v2 board
Patch-by: Jonathan Benett <jbscience87@gmail.com>
SVN-Revision: 26119
Diffstat (limited to 'target/linux/ar71xx/base-files')
4 files changed, 18 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/tl-wa901nd-v2/network b/target/linux/ar71xx/base-files/etc/defconfig/tl-wa901nd-v2/network new file mode 100644 index 0000000000..31780bcb84 --- /dev/null +++ b/target/linux/ar71xx/base-files/etc/defconfig/tl-wa901nd-v2/network @@ -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' diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index dd47cf33bb..d61a78d83e 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -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" ;; diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index d390f9fdff..15f3250e80 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -112,6 +112,9 @@ ar71xx_board_name() { *TL-WA901ND) name="tl-wa901nd" ;; + *"TL-WA901ND v2") + name="tl-wa901nd-v2" + ;; *TL-WR741ND) name="tl-wr741nd" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 067fe033fa..f0fdd88378 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -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 |