diff options
author | John Crispin <john@openwrt.org> | 2015-06-18 18:21:05 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-06-18 18:21:05 +0000 |
commit | 694dd581ebb2898854385e40655c5cd2a44424c3 (patch) | |
tree | 648e8b4eb12198dd43d81275e573f371fc545eed /target/linux/ar71xx/base-files/etc/uci-defaults | |
parent | cf1fb25e670b8b303a4507a5f42f544a12559136 (diff) | |
download | upstream-694dd581ebb2898854385e40655c5cd2a44424c3.tar.gz upstream-694dd581ebb2898854385e40655c5cd2a44424c3.tar.bz2 upstream-694dd581ebb2898854385e40655c5cd2a44424c3.zip |
ar71xx: Add Support for the Bitmain Antminer S1
This patch adds support for the Bitmain Antminer S1 Cryptocurrency Miner
http://wiki.openwrt.org/toh/bitmain/s1
Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
Acked-by: James Hilliard <james.hilliard1@gmail.com>
SVN-Revision: 46044
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults')
-rw-r--r-- | target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | 5 | ||||
-rw-r--r-- | target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds index 41eeeebe32..19814f4e4a 100644 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -31,6 +31,11 @@ all0315n) ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "all0315n:green:rssihigh" "wlan0" "70" "100" "-69" "8" ;; +antminer-s1) + ucidef_set_led_default "sys" "SYS" "bitmain:green:sys" "0" + ucidef_set_led_wlan "wlan" "WLAN" "bitmain:green:wlan" "phy0tpt" + ;; + ap113) ucidef_set_led_usbdev "usb" "USB" "ap113:green:usb" "1-1" ;; diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network index f5c6865240..9fdaca0721 100644 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -343,6 +343,7 @@ wp543) ucidef_set_interface_lan "eth0" ;; +antminer-s1 |\ dir-505-a1) ucidef_set_interface_lan "eth1" ;; |