2
0
forked from Ivasoft/openwrt

ar71xx: Bitmain Antminer S1 & S3 cleanup

Sets the LEDs to boardname:color:led-name
Sets the LAN to eth0
Other corrections such as the Machine Name and HWIDs
v2 corrects the profile names in the Makefile and changes tabs to spaces
in the Makefile 'define Device/' like the other devices.

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

SVN-Revision: 47221
This commit is contained in:
John Crispin
2015-10-19 10:10:02 +00:00
parent 024083a556
commit 257e76a3df
10 changed files with 55 additions and 42 deletions

View File

@@ -33,14 +33,14 @@ all0315n)
;;
antminer-s1)
ucidef_set_led_default "sys" "SYS" "bitmain:green:sys" "0"
ucidef_set_led_wlan "wlan" "WLAN" "bitmain:green:wlan" "phy0tpt"
ucidef_set_led_default "sys" "SYS" "antminer-s1:green:sys" "0"
ucidef_set_led_wlan "wlan" "WLAN" "antminer-s1:green:wlan" "phy0tpt"
;;
antminer-s3)
ucidef_set_led_wlan "wlan" "WLAN" "bitmain:green:wlan" "phy0tpt"
ucidef_set_led_default "sys" "SYS" "bitmain:green:sys" "0"
ucidef_set_led_default "lan" "LAN" "bitmain:yellow:lan" "0"
ucidef_set_led_wlan "wlan" "WLAN" "antminer-s3:green:wlan" "phy0tpt"
ucidef_set_led_default "sys" "SYS" "antminer-s3:green:sys" "0"
ucidef_set_led_default "lan" "LAN" "antminer-s3:yellow:lan" "0"
;;
ap113)

View File

@@ -339,6 +339,8 @@ dlan-pro-1200-ac)
;;
all0305 |\
antminer-s1 |\
antminer-s3 |\
aw-nr580 |\
bullet-m |\
cap4200ag |\
@@ -384,8 +386,6 @@ wp543)
ucidef_set_interface_lan "eth0"
;;
antminer-s1 |\
antminer-s3 |\
dir-505-a1)
ucidef_set_interface_lan "eth1"
;;