driver-bitfury.c


Log

Author Commit Date CI Message
Con Kolivas 835ad824 2013-10-12T09:32:07 Convert the bitfury driver to use the hash_driver_work version of hash_work.
Con Kolivas b30ae4a2 2013-10-09T23:06:46 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.
Con Kolivas bdbe9dd5 2013-10-08T23:26:23 Make the bf1 getinfo size a macro
Con Kolivas e05bfddc 2013-10-08T23:18:57 Failing to add_cgpu in bitfury should be a terminal failure.
Con Kolivas 078f7f47 2013-10-08T23:15:15 Check return values when attempting to open a BF1 device and set the msg size as a macro.
Con Kolivas 8037eb15 2013-10-07T12:00:49 Change second initialise message on bitfury verbose mode.
Con Kolivas 03e80514 2013-10-07T12:00:49 Change second initialise message on bitfury verbose mode.
Con Kolivas 87ddfcc8 2013-09-30T09:27:44 Disable bitfury device thread on it disappearing.
Con Kolivas 0a559984 2013-09-29T23:44:45 Add magic init sequence required on BF1 devices to get them mining on windows.
ckolivas e279bc1f 2013-09-29T02:20:38 Iterate over the bitfury offsets in order of decreasing likelihood.
ckolivas 6d747123 2013-09-28T15:11:06 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.
ckolivas 741b7430 2013-09-28T14:00:18 Forward declare all device drivers in miner.h avoiding the need to export them everywhere else.
ckolivas 88751974 2013-09-28T10:25:48 Create a macro list of drivers to enable easier addition of further drivers.
Con Kolivas 8d133706 2013-09-27T15:04:07 Remove unnecessary steps in communicating with BF1 and just use USB interface 1.
Con Kolivas ce16bd2b 2013-09-27T12:38:02 Remove magic control sequences on open/close on BF1 and just flush the read buffers.
Con Kolivas b994a4c6 2013-09-27T11:25:13 Check return codes in getinfo and reset and fail as needed in BF1.
Con Kolivas 703724a3 2013-09-27T11:20:03 Check return code for bitfury_open and release resources properly on failed initialisation.
Con Kolivas 59b33c1a 2013-09-27T11:13:38 Abstract out flushing of interrupt reads in BF1 devices.
Con Kolivas 93d4c09c 2013-09-27T10:54:24 Perform interrupt read after close message on BF1 as per serial close.
Con Kolivas 1f74b2cd 2013-09-27T10:50:33 Perform interrupt read flush as per serial open on BF1 devices.
Con Kolivas 7deaa91b 2013-09-27T10:36:23 Add information for 2nd USB interface on BF1 devices and choose interface 1 for bulk transfers.
Con Kolivas 4f6c7ee0 2013-09-27T09:39:26 Name remainder of BFU usb commands used.
Con Kolivas 7ae8ee8d 2013-09-26T21:29:30 Merge commit 'b606a60349fe2f1c1c56a1fec833ec849b798676' into redfury Conflicts: driver-bitfury.c
Con Kolivas b606a603 2013-09-26T21:20:59 Use submit_tested_work in bitfury driver to avoid unnecessarily re-testing the work for validity.
Con Kolivas fafd8631 2013-09-26T16:24:49 Use an array of offsets when checking nonces in bitfury_checkresults
Con Kolivas 44b9cf50 2013-09-26T12:11:25 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.
Con Kolivas 9dcd4e70 2013-09-26T11:48:38 Minimise size of serial string we copy in BF1 stats to avoid overflow.
Con Kolivas ce285ba6 2013-09-26T11:46:09 Implement basic API stats for BF1 and increase array of results to check for the rare straggling result.
Con Kolivas 75333c53 2013-09-26T09:41:43 Space debug output for bf1 to separate from numerals.
Con Kolivas 1b40d902 2013-09-26T07:37:19 Abstract out the bitfury open close and reset functions and use them on reinit.
Con Kolivas 435065c8 2013-09-26T07:24:09 Rename BF1 devices BF1
Con Kolivas f97e1ad2 2013-09-25T23:54:37 Check for work restart, breaking out early after usb reads in BF1.
Con Kolivas ff4c4779 2013-09-25T23:33:10 Do not lose the first sets of results from BF1.
Con Kolivas 72c77980 2013-09-25T23:30:29 There is no point checking for results from the next round of work on BF1.
Con Kolivas 8c0ab5f3 2013-09-25T23:18:17 Last result returned by BF1 is an end of results marker so ignore it.
Con Kolivas 7a9669ec 2013-09-25T22:43:39 Remove unused code by bitfury driver since current driver uses serialised scanhash.
Con Kolivas 5a8ac9fd 2013-09-25T22:22:05 Meter out return of estimated hashes in BF1 to smooth out visible hashrate.
Con Kolivas 4507a380 2013-09-25T22:12:34 Optimise inner scanhash loop for bf1.
Con Kolivas c65fd778 2013-09-25T20:46:42 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.
Con Kolivas 55c6e55c 2013-09-25T16:31:37 Name the work request and result usb commands for BF1
Con Kolivas edcea78a 2013-09-25T16:28:34 Define a mandatory upper limit to waiting for reset and data on BF1 based on full nonce duration.
Con Kolivas 759e82bb 2013-09-25T15:30:54 Add in first draft for a serialised work model sending/receiving data for BF1 devices.
Con Kolivas f6e475d4 2013-09-25T00:23:50 Add complete close sequence to bf1 as it happens on serial.
Con Kolivas 4fb802fc 2013-09-24T23:30:01 Provide a bitfury identify function for bf1.
Con Kolivas 977a7b75 2013-09-24T22:58:10 Reliably extract BF1 information at startup and reset the device.
Con Kolivas 54ac3555 2013-09-24T22:28:56 Add commands for getting BF1 bitfury info
Con Kolivas 9a3684b8 2013-09-24T22:16:31 Add magic BF1 bitfury open and close control sequences.
Con Kolivas 2ab023f3 2013-09-24T21:55:47 Add BF1 detection code to bitfury driver.
Con Kolivas 68a7e210 2013-09-24T20:59:10 Create basic placeholders for bitfury driver code.