ckolivas
|
e279bc1fc5
Iterate over the bitfury offsets in order of decreasing likelihood.
|
12 years ago |
ckolivas
|
6d7471237d
Use macro expansion to iterate over all device drivers without needing to explicitly code in support in all places. Pass a hotplug bool to the detect() function to prevent opencl trying to hogplug GPUs.
|
12 years ago |
ckolivas
|
741b74309e
Forward declare all device drivers in miner.h avoiding the need to export them everywhere else.
|
12 years ago |
ckolivas
|
8875197466
Create a macro list of drivers to enable easier addition of further drivers.
|
12 years ago |
Con Kolivas
|
8d133706c9
Remove unnecessary steps in communicating with BF1 and just use USB interface 1.
|
12 years ago |
Con Kolivas
|
ce16bd2ba4
Remove magic control sequences on open/close on BF1 and just flush the read buffers.
|
12 years ago |
Con Kolivas
|
b994a4c64d
Check return codes in getinfo and reset and fail as needed in BF1.
|
12 years ago |
Con Kolivas
|
703724a3f4
Check return code for bitfury_open and release resources properly on failed initialisation.
|
12 years ago |
Con Kolivas
|
59b33c1a58
Abstract out flushing of interrupt reads in BF1 devices.
|
12 years ago |
Con Kolivas
|
93d4c09c66
Perform interrupt read after close message on BF1 as per serial close.
|
12 years ago |
Con Kolivas
|
1f74b2cdc4
Perform interrupt read flush as per serial open on BF1 devices.
|
12 years ago |
Con Kolivas
|
7deaa91b26
Add information for 2nd USB interface on BF1 devices and choose interface 1 for bulk transfers.
|
12 years ago |
Con Kolivas
|
4f6c7ee0c1
Name remainder of BFU usb commands used.
|
12 years ago |
Con Kolivas
|
7ae8ee8dc3
Merge commit 'b606a60349fe2f1c1c56a1fec833ec849b798676' into redfury
|
12 years ago |
Con Kolivas
|
b606a60349
Use submit_tested_work in bitfury driver to avoid unnecessarily re-testing the work for validity.
|
12 years ago |
Con Kolivas
|
fafd863138
Use an array of offsets when checking nonces in bitfury_checkresults
|
12 years ago |
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.
|
12 years ago |
Con Kolivas
|
9dcd4e70a1
Minimise size of serial string we copy in BF1 stats to avoid overflow.
|
12 years ago |
Con Kolivas
|
ce285ba602
Implement basic API stats for BF1 and increase array of results to check for the rare straggling result.
|
12 years ago |
Con Kolivas
|
75333c53df
Space debug output for bf1 to separate from numerals.
|
12 years ago |
Con Kolivas
|
1b40d9023d
Abstract out the bitfury open close and reset functions and use them on reinit.
|
12 years ago |
Con Kolivas
|
435065c86b
Rename BF1 devices BF1
|
12 years ago |
Con Kolivas
|
f97e1ad25f
Check for work restart, breaking out early after usb reads in BF1.
|
12 years ago |
Con Kolivas
|
ff4c4779f7
Do not lose the first sets of results from BF1.
|
12 years ago |
Con Kolivas
|
72c7798043
There is no point checking for results from the next round of work on BF1.
|
12 years ago |
Con Kolivas
|
8c0ab5f310
Last result returned by BF1 is an end of results marker so ignore it.
|
12 years ago |
Con Kolivas
|
7a9669ec3c
Remove unused code by bitfury driver since current driver uses serialised scanhash.
|
12 years ago |
Con Kolivas
|
5a8ac9fdaf
Meter out return of estimated hashes in BF1 to smooth out visible hashrate.
|
12 years ago |
Con Kolivas
|
4507a3803b
Optimise inner scanhash loop for bf1.
|
12 years ago |
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.
|
12 years ago |