aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-10-20 19:03:26 +0000
committerJohn Crispin <blogic@openwrt.org>2015-10-20 19:03:26 +0000
commite4f939449929b207fb44c5b6b7e3c99ca38c3660 (patch)
treedaff4f26fee9dd631cada9ff203ce20c780e1287 /target/linux/ar71xx/files/arch/mips
parentb310e00f1c09dfa7576063bcc4d1f1b7f70f5aea (diff)
downloadupstream-e4f939449929b207fb44c5b6b7e3c99ca38c3660.tar.gz
upstream-e4f939449929b207fb44c5b6b7e3c99ca38c3660.tar.bz2
upstream-e4f939449929b207fb44c5b6b7e3c99ca38c3660.zip
ar71xx: Bitmain Antminer S1 & S3 cleanup
Sets the LEDs to boardname:color:led-name Sets the LAN to eth0 Corrects the profile names in the Makefile and changes tabs to spaces in the Makefile 'define Device/' like the other devices. Other corrections such as the Machine Name and HWIDs Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47242 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s1.c6
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s3.c8
2 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s1.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s1.c
index 27ed7601cc..880bc72e9d 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s1.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s1.c
@@ -42,11 +42,11 @@ static struct flash_platform_data ANTMINER_S1_flash_data = {
static struct gpio_led ANTMINER_S1_leds_gpio[] __initdata = {
{
- .name = "bitmain:green:system",
+ .name = "antminer-s1:green:system",
.gpio = ANTMINER_S1_GPIO_LED_SYSTEM,
.active_low = 0,
},{
- .name = "bitmain:green:wlan",
+ .name = "antminer-s1:green:wlan",
.gpio = ANTMINER_S1_GPIO_LED_WLAN,
.active_low = 0,
},
@@ -95,4 +95,4 @@ static void __init antminer_s1_setup(void)
}
MIPS_MACHINE(ATH79_MACH_ANTMINER_S1, "ANTMINER-S1",
- "Bitmain Antminer S1", antminer_s1_setup);
+ "Antminer-S1", antminer_s1_setup);
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);