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/base-files/lib | |
parent | 024083a556788895ee5f98c7acbd08b7ac2e278e (diff) | |
download | mtk-20170518-257e76a3df0ddff4583789755e78835d79ed2005.zip mtk-20170518-257e76a3df0ddff4583789755e78835d79ed2005.tar.gz mtk-20170518-257e76a3df0ddff4583789755e78835d79ed2005.tar.bz2 |
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/base-files/lib')
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/ar71xx.sh | 14 |
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 4679a4b..166e52e 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" @@ -350,6 +350,12 @@ ar71xx_board_detect() { *ALL0315N) name="all0315n" ;; + *Antminer-S1) + name="antminer-s1" + ;; + *Antminer-S3) + name="antminer-s3" + ;; *AP113) name="ap113" ;; |