aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-02-09 12:16:51 +0000
committerJohn Crispin <john@openwrt.org>2015-02-09 12:16:51 +0000
commita5b60de2535a518e43fc67060512f2e9a9b93c30 (patch)
tree0fe791a2c0642381dea396942e101af82eb052ef /target/linux/ar71xx/base-files/lib
parent35d38f21e0653169976e33e502630b5e61a5d3bf (diff)
downloadupstream-a5b60de2535a518e43fc67060512f2e9a9b93c30.tar.gz
upstream-a5b60de2535a518e43fc67060512f2e9a9b93c30.tar.bz2
upstream-a5b60de2535a518e43fc67060512f2e9a9b93c30.zip
ar71xx: Add support for MERCURY MAC1200R
This patch adds support for MERCURY MAC1200R, a dual band 802.11bgn + 802.11ac router based on the AR9344, with QCA988x ath10k radio and 5 Fast Ethernet ports Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> SVN-Revision: 44359
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 b5224ae6fa..99e44672fe 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -97,6 +97,9 @@ tplink_board_detect() {
"015300"*)
model="EasyLink EL-MINI"
;;
+ "120000"*)
+ model="MERCURY MAC1200R"
+ ;;
"3C0001"*)
model="OOLITE"
;;
@@ -435,6 +438,9 @@ ar71xx_board_detect() {
*LS-SR71)
name="ls-sr71"
;;
+ *"MAC1200R")
+ name="mc-mac1200r"
+ ;;
*MR600v2)
name="mr600v2"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 576ce56da3..d2a7d8e58f 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -297,6 +297,7 @@ platform_check_image() {
el-m150 | \
el-mini | \
gl-inet | \
+ mc-mac1200r | \
oolite | \
smart-300 | \
tl-mr10u | \