aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2014-08-11 11:44:51 +0000
committerImre Kaloz <kaloz@openwrt.org>2014-08-11 11:44:51 +0000
commitecba34a3eed3dc747b5e2588dc138dee178ebed2 (patch)
treeafca2e3737c07a87640499c0b8f46623eb7a530e /target/linux/ar71xx/base-files/lib
parent43029544e25dc4794534d5a430572758a578759c (diff)
downloadupstream-ecba34a3eed3dc747b5e2588dc138dee178ebed2.tar.gz
upstream-ecba34a3eed3dc747b5e2588dc138dee178ebed2.tar.bz2
upstream-ecba34a3eed3dc747b5e2588dc138dee178ebed2.zip
add support for the NC-LINK SMART-300
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 42130
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh6
-rw-r--r--target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
3 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index a067604df9..80a607c2dd 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -211,6 +211,9 @@ tplink_board_detect() {
"453000"*)
model="MERCURY MW4530R"
;;
+ "934100"*)
+ model="NC-LINK SMART-300"
+ ;;
*)
hwver=""
;;
@@ -514,6 +517,9 @@ ar71xx_board_detect() {
*RW2458N)
name="rw2458n"
;;
+ *"SMART-300")
+ name="smart-300"
+ ;;
*TEW-632BRP)
name="tew-632brp"
;;
diff --git a/target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx b/target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx
index 10651fccd4..a9a8794c77 100644
--- a/target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx
+++ b/target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx
@@ -27,6 +27,7 @@ set_preinit_iface() {
rb-450g |\
routerstation |\
routerstation-pro |\
+ smart-300 |\
tl-mr3420-v2 |\
tl-wdr4900-v2 |\
tl-wr1043nd-v2 |\
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index ced42ed044..b5b28736bc 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -257,6 +257,7 @@ platform_check_image() {
el-mini | \
gl-inet | \
oolite | \
+ smart-300 | \
tl-mr10u | \
tl-mr11u | \
tl-mr13u | \