diff options
author | John Crispin <john@openwrt.org> | 2015-10-19 10:10:02 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-10-19 10:10:02 +0000 |
commit | 257e76a3df0ddff4583789755e78835d79ed2005 (patch) | |
tree | d5452bba5dab1599badb124433fce27775667bd4 /target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s3.c | |
parent | 024083a556788895ee5f98c7acbd08b7ac2e278e (diff) | |
download | master-31e0f0ae-257e76a3df0ddff4583789755e78835d79ed2005.tar.gz master-31e0f0ae-257e76a3df0ddff4583789755e78835d79ed2005.tar.bz2 master-31e0f0ae-257e76a3df0ddff4583789755e78835d79ed2005.zip |
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
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s3.c')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s3.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s3.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s3.c index 010c461acc..aa54e9cafc 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s3.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s3.c @@ -42,15 +42,15 @@ static struct flash_platform_data ANTMINER_S3_flash_data = { static struct gpio_led ANTMINER_S3_leds_gpio[] __initdata = { { - .name = "bitmain:green:wlan", + .name = "antminer-s3:green:wlan", .gpio = ANTMINER_S3_GPIO_LED_WLAN, .active_low = 0, },{ - .name = "bitmain:green:system", + .name = "antminer-s3:green:system", .gpio = ANTMINER_S3_GPIO_LED_SYSTEM, .active_low = 0, },{ - .name = "bitmain:yellow:lan", + .name = "antminer-s3:yellow:lan", .gpio = ANTMINER_S3_GPIO_LED_LAN, .active_low = 0, }, @@ -95,4 +95,4 @@ static void __init antminer_s3_setup(void) } MIPS_MACHINE(ATH79_MACH_ANTMINER_S3, "ANTMINER-S3", - "Bitmain Antminer S3", antminer_s3_setup); + "Antminer-S3", antminer_s3_setup); |