From b219848bfc95add6d1f8b6fa744bf05231a49f17 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Thu, 5 Jul 2012 08:26:50 +0000 Subject: [PATCH] ar71xx: AP136 user-space support SVN-Revision: 32608 --- target/linux/ar71xx/base-files/etc/diag.sh | 3 +++ target/linux/ar71xx/base-files/etc/uci-defaults/network | 1 + target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++ target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 1 + 4 files changed, 8 insertions(+) diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 5c84f82ca3..76518bd3cd 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 521cffdbfd..3a5b704e74 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 430242ed40..40e76d56f5 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 054d591713..47a9354d15 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 | \