Con Kolivas
|
f29f612182
Merge branch 'master' into hashfast
|
12 years ago |
Con Kolivas
|
eb5b611483
Use cancellable transfers on bitfury device.
|
12 years ago |
Con Kolivas
|
5ee279ca00
Add atmel init sequence likely to be required on hashfast for windows to work.
|
12 years ago |
Con Kolivas
|
835ad82441
Convert the bitfury driver to use the hash_driver_work version of hash_work.
|
12 years ago |
Con Kolivas
|
b30ae4a216
Use fractional hashrate return values in bitfury_scanhash to minimise the number of times we return 0 based on hashrate so far to further damp out displayed hashrate.
|
12 years ago |
Con Kolivas
|
bdbe9dd5fe
Make the bf1 getinfo size a macro
|
12 years ago |
Con Kolivas
|
e05bfddc74
Failing to add_cgpu in bitfury should be a terminal failure.
|
12 years ago |
Con Kolivas
|
078f7f4739
Check return values when attempting to open a BF1 device and set the msg size as a macro.
|
12 years ago |
Con Kolivas
|
03e80514e9
Change second initialise message on bitfury verbose mode.
|
12 years ago |
Con Kolivas
|
87ddfcc8a6
Disable bitfury device thread on it disappearing.
|
12 years ago |
Con Kolivas
|
0a5599844f
Add magic init sequence required on BF1 devices to get them mining on windows.
|
12 years ago |
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 |