summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-12-08 12:46:30 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-12-08 12:46:30 +0000
commit2417cf679167fc778c0a77ff2e1f0ade2c797306 (patch)
tree35e03e75e9bc7af75456189397adc3290a5ac3bf /target/linux/ar71xx/base-files
parentbfbc6bd89d38caa27008f9e93b41d279d244ed20 (diff)
ar71xx: TL-WR1043ND support cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18697 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh2
3 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 9178b0a9e..3a640fa4b 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -63,6 +63,9 @@ get_status_led() {
tew-632brp)
status_led="tew-632brp:green:status"
;;
+ tl-wr1043nd)
+ status_led="tl-wr1043nd:green:system"
+ ;;
tl-wr741nd)
status_led="tl-wr741nd:green:system"
;;
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 1c2e06006..9eea471b3 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -67,6 +67,9 @@ ar71xx_board_name() {
*TEW-632BRP)
name="tew-632brp"
;;
+ *TL-WR1043ND)
+ name="tl-wr1043nd"
+ ;;
*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 b7e003a81..728019969 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -75,7 +75,7 @@ platform_check_image() {
}
return 0
;;
- tl-wr741nd | tl-wr941nd)
+ tl-wr741nd | tl-wr941nd | tl-wr1043nd)
[ "$magic" != "0100" ] && {
echo "Invalid image type."
return 1