From c10bdf11ff6ac0713b5b519203c0869e747d87c0 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 5 Oct 2015 10:25:47 +0000 Subject: ramips: Add base-files for HiWiFi HC5x61 models HiWiFi HC5661/5761/5861 models are manufactured by http://www.hiwifi.com. These models have similar hardware specs(MT7620A + 128M DDR2 + 16M flash). This patch adds support for them. The original author is Justin Liu (rssnsj@gmail.com). I ported the patch to trunk and submitted it here with his approval. v3 fix 1: Fixed model order 2: Remove manufacturer name from model name 3: Use a hacky but prettier way to get mac address. Signed-off-by: Xiaoning Kang SVN-Revision: 47111 --- target/linux/ramips/base-files/etc/diag.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 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 7fc6f29727..537675960f 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -104,6 +104,11 @@ get_status_led() { f7c027) status_led="$board:orange:status" ;; + hc5*61|\ + mlw221|\ + mlwg2) + status_led="$board:blue:system" + ;; m2m) status_led="$board:blue:wifi" ;; @@ -115,10 +120,6 @@ get_status_led() { zte-q7) status_led="$board:red:status" ;; - mlw221|\ - mlwg2) - status_led="$board:blue:system" - ;; mr-102n) status_led="$board:amber:status" ;; -- cgit v1.2.3