summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-07-05 08:26:50 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-07-05 08:26:50 +0000
commitb219848bfc95add6d1f8b6fa744bf05231a49f17 (patch)
treeefcb13f5796bfbfc24110278eb4c9ed069b8035e /target/linux/ar71xx
parentf0cda65bb6ee80f4fc80da9fdeabb9d28a306437 (diff)
downloadmtk-20170518-b219848bfc95add6d1f8b6fa744bf05231a49f17.zip
mtk-20170518-b219848bfc95add6d1f8b6fa744bf05231a49f17.tar.gz
mtk-20170518-b219848bfc95add6d1f8b6fa744bf05231a49f17.tar.bz2
ar71xx: AP136 user-space support
SVN-Revision: 32608
Diffstat (limited to 'target/linux/ar71xx')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/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, 8 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 5c84f82..76518bd 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -33,6 +33,9 @@ get_status_led() {
alfa-nx)
status_led="alfa:green:led_8"
;;
+ ap136)
+ status_led="ap136:green:status"
+ ;;
ap81)
status_led="ap81:green:status"
;;
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index 521cffd..3a5b704 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -62,6 +62,7 @@ routerstation-pro)
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"
;;
+ap136 |\
rb-750gl |\
rb-751g |\
wzr-hp-g450h)
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 430242e..40e76d5 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -162,6 +162,9 @@ ar71xx_board_detect() {
*AP121-MINI)
name="ap121-mini"
;;
+ *"AP136 reference board")
+ name="ap136"
+ ;;
*AP81)
name="ap81"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 054d591..47a9354 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -82,6 +82,7 @@ platform_check_image() {
ap113 | \
ap121 | \
ap121-mini | \
+ ap136 | \
ap96 | \
db120 | \
hornet-ub | \