summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-02-19 12:15:34 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-02-19 12:15:34 +0000
commit2095271b98e9311ab5205e2f0fec0b68eec1f912 (patch)
tree19823e7b396a00bf4de8ec19a9747cbd10f6114f /target/linux/ar71xx/base-files/lib
parent9733120beb952d6bcbe00f95fe6b25fbe2d046f5 (diff)
ar71xx: add user-space support for TP-Link TL-WDR4900 v2.0 board
Patch-by: TenNinjas <tenninjas@tenninjas.ca> Patchwork: http://patchwork.openwrt.org/patch/4849/ [juhosg: - use the Archer C7 specific LED setup instead of adding identical code] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39636 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh6
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
2 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 3893747426..81a7591482 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -183,6 +183,9 @@ tplink_board_detect() {
"431000"*)
model="TP-Link TL-WDR4310"
;;
+ "49000002")
+ model="TP-Link TL-WDR4900"
+ ;;
"453000"*)
model="MERCURY MW4530R"
;;
@@ -495,6 +498,9 @@ ar71xx_board_detect() {
*"TL-WDR3600/4300/4310")
name="tl-wdr4300"
;;
+ *"TL-WDR4900 v2")
+ name="tl-wdr4900-v2"
+ ;;
*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 b2181af5b5..0028e8a584 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -239,6 +239,7 @@ platform_check_image() {
tl-wa901nd-v3 | \
tl-wdr3500 | \
tl-wdr4300 | \
+ tl-wdr4900-v2 | \
tl-wr703n | \
tl-wr710n | \
tl-wr720n-v3 | \