aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-12-08 12:46:30 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-12-08 12:46:30 +0000
commit7d8a1bf239dcd7c1db00bdd4ab19db85b94b61b0 (patch)
treeaac8d038c0b3ec8c00bff4193e38afe2e466eb8d /target/linux/ar71xx/base-files
parentb12d752a63e94e1072f9434edbae8cdc1ad8860e (diff)
downloadupstream-7d8a1bf239dcd7c1db00bdd4ab19db85b94b61b0.tar.gz
upstream-7d8a1bf239dcd7c1db00bdd4ab19db85b94b61b0.tar.bz2
upstream-7d8a1bf239dcd7c1db00bdd4ab19db85b94b61b0.zip
ar71xx: TL-WR1043ND support cleanup
SVN-Revision: 18697
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 9178b0a9e6..3a640fa4b3 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 1c2e060067..9eea471b32 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 b7e003a81d..728019969b 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