Commit 67b8165a5d83146e127753e7eab9e81b1f4d4f73

Con Kolivas 2014-04-03T20:44:45

Document the HXF support

diff --git a/ASIC-README b/ASIC-README
index 3d57de6..6e82783 100644
--- a/ASIC-README
+++ b/ASIC-README
@@ -8,10 +8,12 @@ Currently supported devices include:
 - KnCminer Mercury, Saturn and Jupiter
 - BlackArrow Bitfury
 - Bi*fury USB
+- Onestring miner USB
+- Hexfury USB
 - Nanofury USB
 - Other bitfury USB devices
 - Hashfast Babyjet and Sierra
-- Antminer U1 USB
+- Antminer U1/U2/U2+ USB
 - Cointerra
 - Antminer S1
 - BFx2 USB
@@ -211,8 +213,8 @@ ASIC SPECIFIC COMMANDS
 --bitmain-hwerror   Set bitmain device detect hardware error
 --bitmain-options   Set bitmain options baud:miners:asic:timeout:freq
 --bitmain-temp      Set bitmain target temperature
---bxf-bits <arg>    Set max BXF bits for overclocking (default: 54)
---bxf-temp-target <arg> Set target temperature for BXF devices (default: 82)
+--bxf-bits <arg>    Set max BXF/HXF bits for overclocking (default: 54)
+--bxf-temp-target <arg> Set target temperature for BXF/HXF devices (default: 82)
 --bxm-bits <arg>    Set BXM bits for overclocking (default: 54)
 --hfa-hash-clock <arg> Set hashfast clock speed (default: 550)
 --hfa-fail-drop <arg> Set how many MHz to drop clockspeed each failure on an overlocked hashfast device (default: 10)
@@ -441,13 +443,13 @@ throttles BFLSC devices by allowing them to temporarily go idle.
 
 BITFURY Devices
 
---bxf-bits <arg>    Set max BXF bits for overclocking (default: 54)
+--bxf-bits <arg>    Set max BXF/HXF bits for overclocking (default: 54)
 
 In combination with the dynamic clocking on Bi*fury devices, this sets the
 highest bit target that cgminer will aim for.
 
 
---bxf-temp-target <arg> Set target temperature for BXF devices (default: 82)
+--bxf-temp-target <arg> Set target temperature for BXF/HXF devices (default: 82)
 
 Cgminer uses dynamic clocking on Bi*fury devices to try and maintain the
 temperature just below an optimal target. This option allows you to change the
diff --git a/README b/README
index 67f7cd9..447661a 100644
--- a/README
+++ b/README
@@ -192,8 +192,8 @@ Options for both config file and command line:
 --bitmain-hwerror   Set bitmain device detect hardware error
 --bitmain-options   Set bitmain options baud:miners:asic:timeout:freq
 --bitmain-temp      Set bitmain target temperature
---bxf-bits <arg>    Set max BXF bits for overclocking (default: 54)
---bxf-temp-target <arg> Set target temperature for BXF devices (default: 82)
+--bxf-bits <arg>    Set max BXF/HXF bits for overclocking (default: 54)
+--bxf-temp-target <arg> Set target temperature for BXF/HXF devices (default: 82)
 --bxm-bits <arg>    Set BXM bits for overclocking (default: 54)
 --btc-address <arg> Set bitcoin target address when solo mining to bitcoind
 --compact           Use compact display without per device statistics
@@ -302,8 +302,8 @@ See FGPA-README for more information regarding this.
 Cgminer should automatically find all of your Avalon ASIC, BFL ASIC, BitForce
 FPGAs, Icarus bitstream FPGAs, Klondike ASIC, ASICMINER usb block erupters,
 KnC ASICs, BaB ASICs, Hashfast ASICs, ModMiner FPGAs, BPMC/BGMC BF1 USB ASICs,
-Bi*fury USB ASICs, Nanofury USB ASICs, Antminer U1 USB ASICs, Cointerra
-devices and BFx2 USB ASICs.
+Bi*fury USB ASICs, Onestring miner USB ASICs, Hexfury USB ASICs, Nanofury USB
+ASICs, Antminer U1/U2/U2+ USB ASICs, Cointerra devices and BFx2 USB ASICs.
 
 ---
 
diff --git a/cgminer.c b/cgminer.c
index 707d8fc..5121423 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -1174,10 +1174,10 @@ static struct opt_table opt_config_table[] = {
 #ifdef USE_BITFURY
 	OPT_WITH_ARG("--bxf-bits",
 		     set_int_32_to_63, opt_show_intval, &opt_bxf_bits,
-		     "Set max BXF bits for overclocking"),
+		     "Set max BXF/HXF bits for overclocking"),
 	OPT_WITH_ARG("--bxf-temp-target",
 		     set_int_0_to_200, opt_show_intval, &opt_bxf_temp_target,
-		     "Set target temperature for BXF devices"),
+		     "Set target temperature for BXF/HXF devices"),
 	OPT_WITH_ARG("--bxm-bits",
 		     set_int_0_to_100, opt_show_intval, &opt_bxm_bits,
 		     "Set BXM bits for overclocking"),