aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-11-29 20:51:13 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-11-29 20:51:13 +0000
commit3f06f853b6f59b2a035a2c6daee221df63789bf2 (patch)
treed7e033885b15fe3c7f5bfdd46fb451abed95733f /target/linux/ar71xx/base-files/etc
parent336f29b4c7e2dfcd48fa8743384ccefea9ca3ab5 (diff)
downloadupstream-3f06f853b6f59b2a035a2c6daee221df63789bf2.tar.gz
upstream-3f06f853b6f59b2a035a2c6daee221df63789bf2.tar.bz2
upstream-3f06f853b6f59b2a035a2c6daee221df63789bf2.zip
ar71xx: add user-space support for the TL-WR1043ND v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38956 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh1
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/01_leds3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network3
3 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index e314bc03dd..216100b5eb 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -141,6 +141,7 @@ get_status_led() {
tl-wdr3500 | \
tl-wr1041n-v2 | \
tl-wr1043nd | \
+ tl-wr1043nd-v2 | \
tl-wr741nd | \
tl-wr741nd-v4 | \
tl-wr841n-v1 | \
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
index ec3163171c..e20c121f57 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -253,7 +253,8 @@ tl-wr1041n-v2)
ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
;;
-tl-wr1043nd)
+tl-wr1043nd | \
+tl-wr1043nd-v2)
ucidef_set_led_usbdev "usb" "USB" "tp-link:green:usb" "1-1"
ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
;;
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index f288862703..5ef4938da7 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -38,7 +38,8 @@ ap136-010)
;;
ap136-020 |\
-ap135-020)
+ap135-020 |\
+tl-wr1043nd-v2)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"