aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-09-25 18:42:11 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-09-25 18:42:11 +0000
commit82904232f6fdc5013b2b97be920fb7a542ddc01e (patch)
treee2867e76e33d26326d03196df5ef2d4a960f85c6
parentf5eb50ac7ef4c61eb5ea699f31523e2a184bb176 (diff)
downloadupstream-82904232f6fdc5013b2b97be920fb7a542ddc01e.tar.gz
upstream-82904232f6fdc5013b2b97be920fb7a542ddc01e.tar.bz2
upstream-82904232f6fdc5013b2b97be920fb7a542ddc01e.zip
ar71xx: add user-space support for TL-MR3040 v2
Signed-off-by: Mads Hansen <d@taba.se> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38191 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/01_leds3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_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/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
index 457b3bdaa5..bd1c4b78b5 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -132,7 +132,8 @@ tew-732br)
tl-mr11u | \
tl-mr3020 | \
-tl-mr3040)
+tl-mr3040 | \
+tl-mr3040-v2)
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/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index b654bbbd35..3d6ab29ad9 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -225,6 +225,7 @@ tl-mr11u |\
tl-mr13u |\
tl-mr3020 |\
tl-mr3040 |\
+tl-mr3040-v2 |\
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 31b8821746..06786e770d 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -426,6 +426,9 @@ ar71xx_board_detect() {
*TL-MR3040)
name="tl-mr3040"
;;
+ *"TL-MR3040 v2")
+ name="tl-mr3040-v2"
+ ;;
*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 f7e0507043..356da2d43b 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -183,6 +183,7 @@ platform_check_image() {
tl-mr13u | \
tl-mr3020 | \
tl-mr3040 | \
+ tl-mr3040-v2 | \
tl-mr3220 | \
tl-mr3220-v2 | \
tl-mr3420 | \