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 | 84f2d0b280d12a5c7c7ecea3b36afd314c3b8882 (patch) | |
tree | 21451cfb8e24c32117b48097d49466a442da7320 /target/linux/ar71xx/base-files | |
parent | f3d20a6c69fa1d276440878646184c33d1830f48 (diff) | |
download | upstream-84f2d0b280d12a5c7c7ecea3b36afd314c3b8882.tar.gz upstream-84f2d0b280d12a5c7c7ecea3b36afd314c3b8882.tar.bz2 upstream-84f2d0b280d12a5c7c7ecea3b36afd314c3b8882.zip |
ar71xx: add support for the TP-Link TL-WA901ND v2 board
Patch-by: Jonathan Benett <jbscience87@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26119 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 |