aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-07-22 12:37:44 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-07-22 12:37:44 +0000
commit900aaa919b5685c06ae0087aaad5bdd6d6a4882a (patch)
treeb4e955fe89e73c25fb570fe5334dac6c437c4b45 /target/linux/ar71xx/base-files/etc
parentd4d6fefdf27845273be0c49b53539334817aa3c6 (diff)
downloadupstream-900aaa919b5685c06ae0087aaad5bdd6d6a4882a.tar.gz
upstream-900aaa919b5685c06ae0087aaad5bdd6d6a4882a.tar.bz2
upstream-900aaa919b5685c06ae0087aaad5bdd6d6a4882a.zip
ar71xx: add support for the tp-link tl-wa901nd devices (patch by Pieter "Fate" Hollants, from #7528, without the ethernet fifo cfg values)
SVN-Revision: 22353
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rw-r--r--target/linux/ar71xx/base-files/etc/defconfig/tl-wa901nd/network16
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
2 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/defconfig/tl-wa901nd/network b/target/linux/ar71xx/base-files/etc/defconfig/tl-wa901nd/network
new file mode 100644
index 0000000000..b475d65a25
--- /dev/null
+++ b/target/linux/ar71xx/base-files/etc/defconfig/tl-wa901nd/network
@@ -0,0 +1,16 @@
+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 none
+
+config interface lan
+ option ifname lan
+ option type bridge
+ 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 0ded6f4bc4..b27bd3e425 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -72,6 +72,9 @@ get_status_led() {
tew-632brp)
status_led="tew-632brp:green:status"
;;
+ tl-wa901nd)
+ status_led="tl-wa901nd:green:system"
+ ;;
tl-wr1043nd)
status_led="tl-wr1043nd:green:system"
;;