diff options
author | John Crispin <john@openwrt.org> | 2015-10-05 10:25:47 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-10-05 10:25:47 +0000 |
commit | c10bdf11ff6ac0713b5b519203c0869e747d87c0 (patch) | |
tree | 94a494d61f9613905e29c270f959c8ae1add59eb /target/linux/ramips/base-files/etc/board.d/01_leds | |
parent | 03681684bff28095a3570c33ccf775d86d1de082 (diff) | |
download | upstream-c10bdf11ff6ac0713b5b519203c0869e747d87c0.tar.gz upstream-c10bdf11ff6ac0713b5b519203c0869e747d87c0.tar.bz2 upstream-c10bdf11ff6ac0713b5b519203c0869e747d87c0.zip |
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 <kangxn@163.com>
SVN-Revision: 47111
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d/01_leds')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/01_leds | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index a9959e37c1..c75a99301e 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -132,6 +132,24 @@ fonera20n) set_usb_led "$board:orange:usb" set_wifi_led "$board:orange:wifi" ;; +hc5661) + ucidef_set_led_default "system" "system" "$board:blue:system" "1" + ucidef_set_led_netdev "internet" "internet" "$board:blue:internet" "eth0.2" + set_wifi_led "$board:blue:wlan2g" + ;; +hc5761) + ucidef_set_led_default "system" "system" "$board:blue:system" "1" + ucidef_set_led_netdev "internet" "internet" "$board:blue:internet" "eth0.2" + set_wifi_led "$board:blue:wlan2g" + ucidef_set_led_netdev "wifi5g" "wifi5g" "$board:blue:wlan5g" "rai0" + ;; +hc5861) + ucidef_set_led_default "system" "system" "$board:blue:system" "1" + ucidef_set_led_netdev "internet" "internet" "$board:blue:internet" "eth0.2" + set_wifi_led "$board:blue:wlan2g" + ucidef_set_led_netdev "wifi5g" "wifi5g" "$board:blue:wlan5g" "rai0" + ucidef_set_led_default "turbo" "turbo" "$board:blue:turbo" "0" + ;; hg255d) set_wifi_led "$board:green:wlan" set_usb_led "$board:green:usb" |