aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
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/base-files/lib
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/base-files/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh14
1 files changed, 10 insertions, 4 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 6f5ff18df1..839abc711c 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -107,11 +107,11 @@ tplink_board_detect() {
"015300"*)
model="EasyLink EL-MINI"
;;
- "04440001"*)
- model="BITMAIN ANTMINER S1"
+ "044401"*)
+ model="ANTMINER-S1"
;;
- "04440003"*)
- model="BITMAIN ANTMINER S3"
+ "044403"*)
+ model="ANTMINER-S3"
;;
"120000"*)
model="MERCURY MAC1200R"
@@ -344,6 +344,12 @@ ar71xx_board_detect() {
*ALL0315N)
name="all0315n"
;;
+ *Antminer-S1)
+ name="antminer-s1"
+ ;;
+ *Antminer-S3)
+ name="antminer-s3"
+ ;;
*AP113)
name="ap113"
;;