aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-09-24 18:45:56 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-09-24 18:45:56 +0000
commite70ad61e4451ec23e843ba00365ac7e928392adf (patch)
tree44b74b048516d2df72246d669dc259f2b5bf044b /target/linux/ar71xx/base-files
parent1cd6237979dafaa5d1e7ec9502dc022015bbc795 (diff)
downloadupstream-e70ad61e4451ec23e843ba00365ac7e928392adf.tar.gz
upstream-e70ad61e4451ec23e843ba00365ac7e928392adf.tar.bz2
upstream-e70ad61e4451ec23e843ba00365ac7e928392adf.zip
ar71xx: use different machtype and setup for the TL-MR3040
Should fix #12211. Compile tested only. SVN-Revision: 33535
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/leds3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
4 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
index 5e2e9acfb7..07fd60f0b0 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
@@ -93,7 +93,8 @@ tew-712br)
;;
tl-mr11u | \
-tl-mr3020)
+tl-mr3020 |
+tl-mr3040)
ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index 3f8795031e..8f00e1987d 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -141,6 +141,7 @@ ew-dorin |\
rb-411 |\
tl-mr11u |\
tl-mr3020 |\
+tl-mr3040 |\
tl-wa901nd |\
tl-wa901nd-v2 |\
tl-wr703n |\
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 032988e5e2..3ba23b787c 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -327,6 +327,9 @@ ar71xx_board_detect() {
*TL-MR3020)
name="tl-mr3020"
;;
+ *TL-MR3040)
+ name="tl-mr3040"
+ ;;
*TL-MR3220)
name="tl-mr3220"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 02e3916191..9f4ce2cb83 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -137,6 +137,7 @@ platform_check_image() {
;;
tl-mr11u | \
tl-mr3020 | \
+ tl-mr3040 | \
tl-mr3220 | \
tl-mr3420 | \
tl-wa901nd | \