49 Commits (d3f33888fd0e61956364092c044458e61a6b954a)

Author SHA1 Message Date
Con Kolivas eb5b611483 Use cancellable transfers on bitfury device. 11 years ago
Con Kolivas 835ad82441 Convert the bitfury driver to use the hash_driver_work version of hash_work. 11 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. 11 years ago
Con Kolivas bdbe9dd5fe Make the bf1 getinfo size a macro 11 years ago
Con Kolivas e05bfddc74 Failing to add_cgpu in bitfury should be a terminal failure. 11 years ago
Con Kolivas 078f7f4739 Check return values when attempting to open a BF1 device and set the msg size as a macro. 11 years ago
Con Kolivas 8037eb15ad Change second initialise message on bitfury verbose mode. 11 years ago
Con Kolivas 03e80514e9 Change second initialise message on bitfury verbose mode. 11 years ago
Con Kolivas 87ddfcc8a6 Disable bitfury device thread on it disappearing. 11 years ago
Con Kolivas 0a5599844f Add magic init sequence required on BF1 devices to get them mining on windows. 11 years ago
ckolivas e279bc1fc5 Iterate over the bitfury offsets in order of decreasing likelihood. 11 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. 11 years ago
ckolivas 741b74309e Forward declare all device drivers in miner.h avoiding the need to export them everywhere else. 11 years ago
ckolivas 8875197466 Create a macro list of drivers to enable easier addition of further drivers. 11 years ago
Con Kolivas 8d133706c9 Remove unnecessary steps in communicating with BF1 and just use USB interface 1. 11 years ago
Con Kolivas ce16bd2ba4 Remove magic control sequences on open/close on BF1 and just flush the read buffers. 11 years ago
Con Kolivas b994a4c64d Check return codes in getinfo and reset and fail as needed in BF1. 11 years ago
Con Kolivas 703724a3f4 Check return code for bitfury_open and release resources properly on failed initialisation. 11 years ago
Con Kolivas 59b33c1a58 Abstract out flushing of interrupt reads in BF1 devices. 11 years ago
Con Kolivas 93d4c09c66 Perform interrupt read after close message on BF1 as per serial close. 11 years ago
Con Kolivas 1f74b2cdc4 Perform interrupt read flush as per serial open on BF1 devices. 11 years ago
Con Kolivas 7deaa91b26 Add information for 2nd USB interface on BF1 devices and choose interface 1 for bulk transfers. 11 years ago
Con Kolivas 4f6c7ee0c1 Name remainder of BFU usb commands used. 11 years ago
Con Kolivas b606a60349 Use submit_tested_work in bitfury driver to avoid unnecessarily re-testing the work for validity. 11 years ago
Con Kolivas fafd863138 Use an array of offsets when checking nonces in bitfury_checkresults 11 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. 11 years ago
Con Kolivas 9dcd4e70a1 Minimise size of serial string we copy in BF1 stats to avoid overflow. 11 years ago
Con Kolivas ce285ba602 Implement basic API stats for BF1 and increase array of results to check for the rare straggling result. 11 years ago
Con Kolivas 75333c53df Space debug output for bf1 to separate from numerals. 11 years ago
Con Kolivas 1b40d9023d Abstract out the bitfury open close and reset functions and use them on reinit. 11 years ago
Con Kolivas 435065c86b Rename BF1 devices BF1 11 years ago
Con Kolivas f97e1ad25f Check for work restart, breaking out early after usb reads in BF1. 11 years ago
Con Kolivas ff4c4779f7 Do not lose the first sets of results from BF1. 11 years ago
Con Kolivas 72c7798043 There is no point checking for results from the next round of work on BF1. 11 years ago
Con Kolivas 8c0ab5f310 Last result returned by BF1 is an end of results marker so ignore it. 11 years ago
Con Kolivas 7a9669ec3c Remove unused code by bitfury driver since current driver uses serialised scanhash. 11 years ago
Con Kolivas 5a8ac9fdaf Meter out return of estimated hashes in BF1 to smooth out visible hashrate. 11 years ago
Con Kolivas 4507a3803b Optimise inner scanhash loop for bf1. 11 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. 11 years ago
Con Kolivas 55c6e55c84 Name the work request and result usb commands for BF1 11 years ago
Con Kolivas edcea78a61 Define a mandatory upper limit to waiting for reset and data on BF1 based on full nonce duration. 11 years ago
Con Kolivas 759e82bb98 Add in first draft for a serialised work model sending/receiving data for BF1 devices. 11 years ago
Con Kolivas f6e475d4fb Add complete close sequence to bf1 as it happens on serial. 11 years ago
Con Kolivas 4fb802fc58 Provide a bitfury identify function for bf1. 11 years ago
Con Kolivas 977a7b753f Reliably extract BF1 information at startup and reset the device. 11 years ago
Con Kolivas 54ac35553f Add commands for getting BF1 bitfury info 11 years ago
Con Kolivas 9a3684b809 Add magic BF1 bitfury open and close control sequences. 11 years ago
Con Kolivas 2ab023f300 Add BF1 detection code to bitfury driver. 11 years ago
Con Kolivas 68a7e21022 Create basic placeholders for bitfury driver code. 11 years ago