summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-01-06 07:20:59 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-01-06 07:20:59 +0000
commit1e848b17ad73b8a6db44ee19cef2574bb9811e36 (patch)
tree9e28fe04ade759088f1bc14e90db158d70acca76 /target/linux/ar71xx/base-files
parent84cd8a5ee054281fbc3b87fc38c5048e99283f08 (diff)
downloadmtk-20170518-1e848b17ad73b8a6db44ee19cef2574bb9811e36.zip
mtk-20170518-1e848b17ad73b8a6db44ee19cef2574bb9811e36.tar.gz
mtk-20170518-1e848b17ad73b8a6db44ee19cef2574bb9811e36.tar.bz2
ar71xx: add support for Redwave RW2458N
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 29669
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
3 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 3332a7f..dcac49d 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -91,6 +91,9 @@ get_status_led() {
routerstation | routerstation-pro)
status_led="ubnt:green:rf"
;;
+ rw2458n)
+ status_led="rw2458n:green:d3"
+ ;;
tew-632brp)
status_led="tew-632brp:green:status"
;;
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index cc0b0b4..7e8e25e 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -238,6 +238,9 @@ ar71xx_board_detect() {
*"RouterStation Pro")
name="routerstation-pro"
;;
+ *RW2458N)
+ name="rw2458n"
+ ;;
*TEW-632BRP)
name="tew-632brp"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 14af3bf..fc864eb 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -105,6 +105,7 @@ platform_check_image() {
bullet-m | \
nanostation-m | \
rocket-m | \
+ rw2458n | \
wzr-hp-g300nh2 | \
wzr-hp-g300nh | \
wzr-hp-g450h | \