Con Kolivas
|
8fb7a0d1be
|
Always use a usb read buffer instead of having to explicitly enable it.
|
2013-11-04 08:45:09 +11:00 |
|
Adrian Port
|
178c9a0cc8
|
Revert two different hash_sequence(_head)'s to one variable, use HF_SEQUENCE_DISTANCE in both places
|
2013-10-31 12:07:59 +11:00 |
|
Adrian Port
|
065054f658
|
Structure changes for OP_NONCE, add big endian header
|
2013-10-31 12:07:59 +11:00 |
|
Con Kolivas
|
fc6472fcb3
|
Minor buildfix for other platforms.
|
2013-10-23 12:55:32 +11:00 |
|
Con Kolivas
|
5ee279ca00
|
Add atmel init sequence likely to be required on hashfast for windows to work.
|
2013-10-21 13:30:17 +11:00 |
|
Con Kolivas
|
75726f6e00
|
Implement max temp and volt monitoring on statline for hashfast driver.
|
2013-10-21 13:15:52 +11:00 |
|
Con Kolivas
|
f5679aaa61
|
Check for nodev on hashfast driver and disable it if it has disappeared.
|
2013-10-21 12:50:45 +11:00 |
|
Con Kolivas
|
1eb18061f8
|
Limit the number of work items we queue at any one time in the hashfast driver and do not keep updating the job count during the scanwork() loop to prevent indefinitely changing our tail.
|
2013-10-21 12:42:54 +11:00 |
|
Con Kolivas
|
ad8e0f13ea
|
Free hashfast structures allocated on driver shutdown.
|
2013-10-21 12:25:15 +11:00 |
|
Con Kolivas
|
cbb72aa041
|
Drop sending op_usb_init message level in hashfast driver to verbose logging.
|
2013-10-21 12:17:13 +11:00 |
|
Con Kolivas
|
2a92d2ada0
|
Make the cmd stored in hfa_cmd structure a uint8_t to match opcodes.
|
2013-10-21 12:14:24 +11:00 |
|
Con Kolivas
|
a999611505
|
Op work restart needs a usb command macro offset for hashfast driver.
|
2013-10-21 11:20:47 +11:00 |
|
Con Kolivas
|
1bafafb5d3
|
Enable USB buffers for hashfast on initialise and clear buffers where appropriate.
|
2013-10-21 11:05:38 +11:00 |
|
Con Kolivas
|
17baf4548a
|
Send correct command with hfa_send_frame in hashfast driver.
|
2013-10-20 16:52:34 +11:00 |
|
Con Kolivas
|
eb1f54fbf2
|
Add die temperatures and voltages to hashfast api output.
|
2013-10-20 15:53:19 +11:00 |
|
Con Kolivas
|
5acaf1fd46
|
Add die statistics to hashfast api output.
|
2013-10-20 15:27:54 +11:00 |
|
Con Kolivas
|
9645c1a107
|
Add asic and core counts to hashfast api data.
|
2013-10-20 15:19:35 +11:00 |
|
Con Kolivas
|
1124853b22
|
Add hf_long_usb_stats1 to hashfast api data.
|
2013-10-20 15:17:00 +11:00 |
|
Con Kolivas
|
063b2db77c
|
Add hf_usb_init_base info to hashfast api output.
|
2013-10-20 15:06:03 +11:00 |
|
Con Kolivas
|
a9835b0472
|
Implement a shutdown routine for the hashfast driver.
|
2013-10-20 11:46:45 +11:00 |
|
Con Kolivas
|
71c6206d08
|
Remove unused statistics from hashfast driver struct and don't pack hashfast info structs since there is no need for them to match the device ones identically.
|
2013-10-20 11:28:27 +11:00 |
|
Con Kolivas
|
6b2a39d298
|
Add op stats1 processing for the hashfast driver.
|
2013-10-20 11:23:42 +11:00 |
|
Con Kolivas
|
92a5a2d7a7
|
Implement update_die_statistics for hashfast driver.
|
2013-10-20 11:11:35 +11:00 |
|
Con Kolivas
|
51548c6134
|
Move to consistent function names hfa_ for hashfast driver.
|
2013-10-20 11:05:10 +11:00 |
|
Con Kolivas
|
8218ba2f06
|
Implement OP_NONCE processing in hashfast driver read thread.
|
2013-10-20 10:57:17 +11:00 |
|
Con Kolivas
|
0ae3e1ec04
|
Implement update_die_status message parsing for hashfast.
|
2013-10-19 18:24:50 +11:00 |
|
Con Kolivas
|
f340c52c88
|
Implement reading of a whole hashfast packet from the read thread and parsing it, implementing parsing of gwq status.
|
2013-10-19 18:19:23 +11:00 |
|
Con Kolivas
|
38f10c0d42
|
Rename hfa_read thread on it starting.
|
2013-10-14 18:09:27 +11:00 |
|
Con Kolivas
|
53b33c8f18
|
Limit max diff internally used by hashfast driver to 256 to still get some nonces back to check for errors if mining at very high diff.
|
2013-10-14 17:46:58 +11:00 |
|
Con Kolivas
|
3dda8a213c
|
Cosmetic changes to hashfast output.
|
2013-10-14 17:45:04 +11:00 |
|
Con Kolivas
|
fe945e18ff
|
Implement primary scanwork loop submitting work and returning hashrate for hashfast.
|
2013-10-14 17:39:33 +11:00 |
|
Con Kolivas
|
8b24b3d35e
|
Send a work restart frame when the restart message is received in hashfast scanwork.
|
2013-10-14 16:59:02 +11:00 |
|
Con Kolivas
|
222af657a1
|
Remove hashfast write thread for all writes can be done from scanwork without added complexity.
|
2013-10-14 16:51:21 +11:00 |
|
Con Kolivas
|
e9b67b50ae
|
Pass the thr argument to the read and write threads for hashfast to have access to its data.
|
2013-10-14 16:19:52 +11:00 |
|
Con Kolivas
|
3c7af2e634
|
Join threads to close hashfast driver.
|
2013-10-14 00:28:57 +11:00 |
|
Con Kolivas
|
598b58c8ce
|
Create basic read and write threads that will be used by hashfast driver.
|
2013-10-14 00:18:23 +11:00 |
|
Con Kolivas
|
93d1f93fdd
|
Perform remainder of hashfast_detect_common setup.
|
2013-10-13 22:34:16 +11:00 |
|
Con Kolivas
|
cbfa78eae4
|
Device data will not be allocated in hashfast_detect_one_usb so no point freeing it.
|
2013-10-13 22:26:26 +11:00 |
|
Con Kolivas
|
49befae6e4
|
Get remaining data from reset sequence on hashfast driver.
|
2013-10-13 22:25:48 +11:00 |
|
Con Kolivas
|
922b4d850d
|
Store the device data returned from hashfast header returned in reset
|
2013-10-13 21:55:14 +11:00 |
|
Con Kolivas
|
775f2040e5
|
Check return code from hashfast_get_header in reset and fail when appropriate.
|
2013-10-13 21:49:57 +11:00 |
|
Con Kolivas
|
d7a907f26e
|
Timeout should not be a fatal error in hashfast_get_header
|
2013-10-13 21:45:01 +11:00 |
|
Con Kolivas
|
58dd80e459
|
Implement a hashfast get_header function which reads till it finds a header preamble or times out.
|
2013-10-13 21:39:59 +11:00 |
|
Con Kolivas
|
4b9eb3707b
|
Implement hashfast send header function and add relevant usb op codes to arrays, beginning reset sequence on hashfast detection.
|
2013-10-13 20:28:57 +11:00 |
|
Con Kolivas
|
df6873eff9
|
Remove old initialisation code from hashfast, use hf protocol library where possible and prepare for new driver model.
|
2013-10-13 17:23:51 +11:00 |
|
Con Kolivas
|
6e2d12e14a
|
Remove now unused crc32 code from hashfast driver.
|
2013-10-13 16:57:28 +11:00 |
|
Con Kolivas
|
21bbe20d31
|
Remove now unnecessary forward declaration of hashfast_drv
|
2013-09-30 08:45:44 +10:00 |
|
Con Kolivas
|
f49a3c7657
|
Merge branch 'master' into hashfast
Conflicts:
Makefile.am
api.c
cgminer.c
configure.ac
miner.h
usbutils.c
usbutils.h
|
2013-09-30 08:43:29 +10:00 |
|
Con Kolivas
|
293622cf2a
|
Merge branch 'master' into hashfast
Conflicts:
usbutils.c
usbutils.h
|
2013-09-22 22:54:18 +10:00 |
|
Con Kolivas
|
c2ef8ca6f5
|
Enable usb buffering on hashfast during init.
|
2013-09-21 18:00:06 +10:00 |
|