Commit bbca896cc11e12cd7040054dcb16c73c58422241

kanoi 2014-07-11T22:52:42

minion - clarify the 0 value of spireset

diff --git a/ASIC-README b/ASIC-README
index af04ed9..2e9ef1e 100644
--- a/ASIC-README
+++ b/ASIC-README
@@ -249,7 +249,7 @@ ASIC SPECIFIC COMMANDS
 --minion-noautofreq Disable automatic frequency adjustment
 --minion-overheat   Enable directly halting any chip when the status exceeds 100C
 --minion-spidelay   Add a delay in microseconds after each SPI I/O
---minion-spireset   SPI regular reset: iNNN for I/O count or sNNN for seconds
+--minion-spireset   SPI regular reset: iNNN for I/O count or sNNN for seconds - 0 means none
 --minion-spisleep   Sleep time in milliseconds when doing an SPI reset
 --minion-temp <arg> Set minion chip temperature threshold, single value or comma list, range 120-160 (default: 135C)
 --nfu-bits <arg>    Set nanofury bits for overclocking, range 32-63 (default: 50)
diff --git a/README b/README
index 5eb776c..f537172 100644
--- a/README
+++ b/README
@@ -226,7 +226,7 @@ Options for both config file and command line:
 --minion-noautofreq Disable automatic frequency adjustment
 --minion-overheat   Enable directly halting any chip when the status exceeds 100C
 --minion-spidelay   Add a delay in microseconds after each SPI I/O
---minion-spireset   SPI regular reset: iNNN for I/O count or sNNN for seconds
+--minion-spireset   SPI regular reset: iNNN for I/O count or sNNN for seconds - 0 means none
 --minion-spisleep   Sleep time in milliseconds when doing an SPI reset
 --minion-temp <arg> Set minion chip temperature threshold, single value or comma list, range 120-160 (default: 135C)
 --monitor|-m <arg>  Use custom pipe cmd for output messages
diff --git a/cgminer.c b/cgminer.c
index 857a82e..adb7439 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -1381,7 +1381,7 @@ static struct opt_table opt_config_table[] = {
 		     "Add a delay in microseconds after each SPI I/O"),
 	OPT_WITH_ARG("--minion-spireset",
 		     opt_set_charp, NULL, &opt_minion_spireset,
-		     "SPI regular reset: iNNN for I/O count or sNNN for seconds"),
+		     "SPI regular reset: iNNN for I/O count or sNNN for seconds - 0 means none"),
 	OPT_WITH_ARG("--minion-spisleep",
 		     set_int_0_to_9999, opt_show_intval, &opt_minion_spisleep,
 		     "Sleep time in milliseconds when doing an SPI reset"),