1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-09 22:38:01 +00:00
Commit Graph

24 Commits

Author SHA1 Message Date
Con Kolivas
fafd863138 Use an array of offsets when checking nonces in bitfury_checkresults 2013-09-26 16:24:49 +10:00
Con Kolivas
44b9cf50e3 Limit the duration we wait for reads in BF1 based on time already elapsed to account for other delays such as work restart messages or out of work. 2013-09-26 12:11:25 +10:00
Con Kolivas
9dcd4e70a1 Minimise size of serial string we copy in BF1 stats to avoid overflow. 2013-09-26 11:48:38 +10:00
Con Kolivas
ce285ba602 Implement basic API stats for BF1 and increase array of results to check for the rare straggling result. 2013-09-26 11:46:09 +10:00
Con Kolivas
75333c53df Space debug output for bf1 to separate from numerals. 2013-09-26 09:41:43 +10:00
Con Kolivas
1b40d9023d Abstract out the bitfury open close and reset functions and use them on reinit. 2013-09-26 07:37:19 +10:00
Con Kolivas
435065c86b Rename BF1 devices BF1 2013-09-26 07:24:09 +10:00
Con Kolivas
f97e1ad25f Check for work restart, breaking out early after usb reads in BF1. 2013-09-25 23:54:37 +10:00
Con Kolivas
ff4c4779f7 Do not lose the first sets of results from BF1. 2013-09-25 23:33:10 +10:00
Con Kolivas
72c7798043 There is no point checking for results from the next round of work on BF1. 2013-09-25 23:30:29 +10:00
Con Kolivas
8c0ab5f310 Last result returned by BF1 is an end of results marker so ignore it. 2013-09-25 23:18:17 +10:00
Con Kolivas
7a9669ec3c Remove unused code by bitfury driver since current driver uses serialised scanhash. 2013-09-25 22:43:39 +10:00
Con Kolivas
5a8ac9fdaf Meter out return of estimated hashes in BF1 to smooth out visible hashrate. 2013-09-25 22:22:05 +10:00
Con Kolivas
4507a3803b Optimise inner scanhash loop for bf1. 2013-09-25 22:12:34 +10:00
Con Kolivas
c65fd77873 Add yet another backup work for triple buffering of work in bf1 to account for extra late results returned and don't check nonce offsets which appear to never return. 2013-09-25 20:46:42 +10:00
Con Kolivas
55c6e55c84 Name the work request and result usb commands for BF1 2013-09-25 16:31:37 +10:00
Con Kolivas
edcea78a61 Define a mandatory upper limit to waiting for reset and data on BF1 based on full nonce duration. 2013-09-25 16:28:34 +10:00
Con Kolivas
759e82bb98 Add in first draft for a serialised work model sending/receiving data for BF1 devices. 2013-09-25 15:30:54 +10:00
Con Kolivas
4fb802fc58 Provide a bitfury identify function for bf1. 2013-09-24 23:30:01 +10:00
Con Kolivas
977a7b753f Reliably extract BF1 information at startup and reset the device. 2013-09-24 22:58:10 +10:00
Con Kolivas
54ac35553f Add commands for getting BF1 bitfury info 2013-09-24 22:28:56 +10:00
Con Kolivas
9a3684b809 Add magic BF1 bitfury open and close control sequences. 2013-09-24 22:16:31 +10:00
Con Kolivas
2ab023f300 Add BF1 detection code to bitfury driver. 2013-09-24 21:55:47 +10:00
Con Kolivas
68a7e21022 Create basic placeholders for bitfury driver code. 2013-09-24 20:59:10 +10:00