From 6cbb1be464941591c567d707a423d4aaea496f1d Mon Sep 17 00:00:00 2001 From: John Crispin Date: Fri, 11 Dec 2015 15:03:50 +0000 Subject: ramips: Fix support for PBR-M1 board MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The PBR-M1 support in current OpenWrt is for the early demo board and it doesn't work on the final board.This patch fixes the support for it. The LED called pbr-m1:buzzer is a beeper connected to GPIO26 so I used gpio-beeper instead of gpio-leds. Signed-off-by: 郭传鈜 SVN-Revision: 47844 --- target/linux/ramips/base-files/etc/diag.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'target/linux/ramips/base-files/etc/diag.sh') diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index ff5fbf2696..3940a54845 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -83,6 +83,7 @@ get_status_led() { ;; dap-1350|\ na930|\ + pbr-m1|\ rt-n13u|\ rt-n14u|\ rt-n15|\ @@ -135,11 +136,6 @@ get_status_led() { sl-r7205) status_led="$board:green:wifi" ;; - pbr-m1|\ - w306r-v20|\ - zbt-wr8305rt) - status_led="$board:green:sys" - ;; psr-680w) status_led="$board:red:wan" ;; @@ -165,6 +161,10 @@ get_status_led() { v22rw-2x2) status_led="$board:green:security" ;; + w306r-v20|\ + zbt-wr8305rt) + status_led="$board:green:sys" + ;; wcr-150gn|\ wl-351) status_led="$board:amber:power" -- cgit v1.2.3