driver-bflsc.c

Branch


Log

Author Commit Date CI Message
Con Kolivas 5b89bb17 2018-03-09T15:19:29 Use system provided uthash and libjansson if provided preferentially now.
Alexander I. Mogilny 6f01253b 2017-01-26T13:30:45 merge with cgminer rev 87e3da18638275d2b5adbd0ccd0a17225793bf8f code refactoring: - Con Colivas notes - whitespace nitts - unused parameters removed - compiler warnings removed
Con Kolivas ec1ac289 2017-01-23T14:07:24 Windows build fixes.
Con Kolivas 556f0005 2015-03-05T09:49:15 Use alloc helpers in bflsc driver
Con Kolivas d3762a4a 2015-02-03T16:28:45 Merge pull request #664 from cross/master Basic ability to compile and run on FreeBSD 10.
Con Kolivas f955e360 2015-01-20T12:34:09 Fix off by one error when running out of queued IDs in bflsc28_queue_full
Chris Ross 364f3cb0 2014-12-17T00:56:31 Remove compilation warnings. Cast overly-specific #def'd values to the destination type, unsigned int.
Con Kolivas c19cdae5 2014-09-20T10:25:52 Throttle bflsc28 devices when they hit the overheat limit
Con Kolivas 1ad91e47 2014-09-20T10:19:20 Add whitelisting of firmware used in final bflsc28 products
Con Kolivas 25304f0a 2014-09-07T20:03:45 Add custom strcasestr and use custom gnu type functions in bflsc
Con Kolivas 14a9e429 2014-09-07T19:34:20 Fix windows build of bflsc driver
Con Kolivas 3a922ff8 2014-09-07T09:28:44 Fix possible deref in bflsc28
kanoi 491d3496 2014-07-02T04:22:55 bflsc28 - clock is hex
kanoi 567415b5 2014-07-02T04:13:51 bflsc28 - allow setting clock and volt from the API ascset command
kanoi 6468449c 2014-07-02T03:38:49 bflsc28 - add chip count to stats
kanoi 156a1c81 2014-07-02T03:23:24 bflsc28 stats
ckolivas 87c213f7 2014-06-30T09:45:02 Simplehacks to better serve bflsc28
ckolivas fe22d483 2014-06-28T13:37:28 Fix deref
ckolivas 030f6a28 2014-06-28T13:26:20 Only use one hashtable for bflsc28 work queued
ckolivas 820a0bdb 2014-06-28T10:16:24 Copy back the buffer after we've stripped the inprocess field on bflsc
ckolivas 3e54c866 2014-06-28T10:09:31 Parse results for BMA based on uid and remove work from the queue when found
ckolivas 3a67adb5 2014-06-28T09:52:46 Strip out the inprocess details from bflsc results if it exists
ckolivas 1d8b477d 2014-06-28T00:17:59 Create a hashtable of work by uid as it's accepted by BMA
ckolivas 778cfad5 2014-06-27T23:58:55 Add some rudimentary values for BMA sleep times
ckolivas 0408dec5 2014-06-27T23:48:41 Fix various errors in queueing work for bflsc28 and limit job queueing to 10 to fit within a usb frame
ckolivas 4ae9674d 2014-06-27T23:25:45 Create preliminary work queueing for bflsc28 using jobs of up to 20 at a time by rolling work where possible
ckolivas bf2de5d6 2014-06-27T09:22:59 Don't mistake bflsc28 for fpga
ckolivas 22610716 2014-06-27T09:20:15 Do initial detection of bflsc28 devices
Con Kolivas 257fe00a 2014-02-18T22:19:45 Move driver statline padding to cgminer.c, expanding width of maximum displayable statistics and window width to add more info.
Con Kolivas 890e4401 2013-12-10T10:04:11 Increase the BFLSC overtemp to 75 for fanspeed to maximum.
Con Kolivas a7fd6476 2013-12-10T09:38:41 Set bflsc cutoff temperature to 85 degrees and throttle 3 degrees below the cutoff temperature.
Con Kolivas d61bf845 2013-11-30T23:38:15 Use vcc2 in bflsc voltage displayed.
Con Kolivas ce359613 2013-11-30T23:19:21 Increment per core errors on false nonces in bflsc and add per core statistics to api stats, removing debugging.
Con Kolivas 47fd1bae 2013-11-30T23:10:57 Store a per-core nonce and hw error count for bflsc.
Con Kolivas 84c74f91 2013-11-30T23:38:15 Use vcc2 in bflsc voltage displayed.
Con Kolivas 46cebb98 2013-11-30T23:19:21 Increment per core errors on false nonces in bflsc and add per core statistics to api stats, removing debugging.
Con Kolivas e65ad489 2013-11-30T23:10:57 Store a per-core nonce and hw error count for bflsc.
Con Kolivas 0e60ca30 2013-11-22T23:21:44 Make usb_detect return the cgpu associated with it to check if it succeeds to decide on whether to increment the device count or not.
Con Kolivas 8fb7a0d1 2013-11-04T08:45:09 Always use a usb read buffer instead of having to explicitly enable it.
ckolivas 680f014c 2013-10-18T14:58:33 Simplify queued hashtable by storing unqueued work separately in a single pointer.
Kano dfa849ab 2013-10-18T10:42:43 bflsc use getinfo chip parallelization if it is present
Kano 4aa84abb 2013-10-18T10:30:16 bflsc - fix brackets so [Chips] isn't always null
Kano addb8481 2013-10-15T02:02:30 bflsc - also allow ' 0' in DEVICES IN CHAIN
Kano 8455cc3f 2013-10-15T01:55:31 bflsc - allow a 0 in DEVICES IN CHAIN
Kano dd1f67fe 2013-10-15T02:02:30 bflsc - also allow ' 0' in DEVICES IN CHAIN
Kano 1f166d99 2013-10-15T01:55:31 bflsc - allow a 0 in DEVICES IN CHAIN
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.
Kano a9faec4a 2013-09-14T01:20:21 change drivers to use usb_interface() - required for multi interface change
Kano 5520206a 2013-08-31T22:52:21 bflsc ensure getinfo cannot overflow it's storage buffer
Con Kolivas 69a2078e 2013-08-31T15:13:57 Revert to old custom tolines function since strtok_r is not portable.
Kano 42bb607a 2013-08-31T14:03:57 bflsc remove unused commented out code
Kano 3aefcce4 2013-08-31T13:56:50 logging - code mistake
Kano 0d4edbe9 2013-08-31T13:41:37 logging - applogsiz() for large messages
Con Kolivas 1c66459c 2013-08-30T23:58:15 Include string.h in bflsc driver.
Con Kolivas 4c451adc 2013-08-30T23:46:32 Get rid of linear removal of spaces in bflsc text parsing and use strstr throughout instead.
Con Kolivas a503ba8b 2013-08-30T23:03:03 Use reentrant strtok in tolines() function in bflsc to avoid racing on contextless calls.
Con Kolivas 8d99a449 2013-08-30T22:38:56 Show how small a too small result in bflsc is.
Con Kolivas 83a8c132 2013-08-30T21:42:38 Duplicate the buffer in process_results in bflsc since strtok modifies it making debugging output limited to one line.
Con Kolivas 1403f4dd 2013-08-30T21:40:10 Only process nonces in bflsc is the breakdown function succeeds.
Con Kolivas 34d977c8 2013-08-30T21:17:42 Revert "Ignore inprocess message when retrieved out of sync in bflsc while processing nonces." This reverts commit 791a8f65ba7169f9bc7246dfb0966f3cba0449e5.
Con Kolivas 791a8f65 2013-08-30T21:11:20 Ignore inprocess message when retrieved out of sync in bflsc while processing nonces.
Con Kolivas 2853a5d9 2013-08-30T20:39:23 Temporarily revert inprocess parsing in bflsc pending fixes.
Con Kolivas 8aa50e19 2013-08-30T20:34:40 Ignore zero count messages in bflsc instead of trying to parse them.
Con Kolivas 2061e97c 2013-08-30T20:31:57 Return ok in tolines when it doesn't match inprocess message for bflsc.
Con Kolivas 0f712d51 2013-08-30T20:29:00 Remove inprocess line instead of deleting all following responses in bflsc.
Con Kolivas 9a867029 2013-08-30T20:24:29 Ignore responses from bflsc as INPROCESS
Con Kolivas cb914ab5 2013-08-30T16:26:00 Change ok testing logic in breakdown() in bflsc and return if not ok at any stage.
Con Kolivas 6ff7893f 2013-08-30T16:14:25 Check the return value of tolines in bflsc driver.
Con Kolivas b0fe14d4 2013-08-30T16:13:01 Use strtok to parse lines in bflsc driver.
Kano 6055a378 2013-08-28T07:59:09 bflsc xlinkstr use snprintf
Con Kolivas e17a9452 2013-08-27T20:31:33 Use take_queued_work_bymidstate in the bflsc driver to avoid the rare chance repeated results come back from the same work item.
Con Kolivas eeac9d81 2013-08-20T19:23:49 Replace all references to the old n*sleep functions with the equivalent cgsleep_*s replacements.
Con Kolivas bedd8eee 2013-08-19T21:52:07 Revert "Sleep for half a work period only in bflsc_get_results if no dev is suitable." This reverts commit 974319454795979dad013c705ca9d53aae67668d. Fine now that sleep works properly with the longer sleep.
Con Kolivas fb66e8b7 2013-08-19T21:13:23 Only grab a queued work item if we successfully grab the lock to submit work in bflsc_send_work
Con Kolivas dddc2d1e 2013-08-19T17:59:59 Revert "Reuse times extracted from the clock in bflsc_get_results." This reverts commit 1d8235334d0bac696e91dc246af2aab9f1d35d36. Monotonic clock does not return the same times as gettimeofday.
Con Kolivas 1d823533 2013-08-19T17:55:32 Reuse times extracted from the clock in bflsc_get_results.
Con Kolivas 97431945 2013-08-19T16:36:01 Sleep for half a work period only in bflsc_get_results if no dev is suitable.
Con Kolivas a61e41a0 2013-08-19T15:58:22 Check for thr->work_restart in restart_wait.
Con Kolivas 89f571f5 2013-08-19T15:51:14 We should be using que_low to decrease scan sleep time in bflsc.
Con Kolivas 09dbd616 2013-08-19T13:57:36 Prepare sleep time on bflsc if no dev needs work yet to avoid busy waiting.
Con Kolivas 09e9091d 2013-08-19T13:54:56 Simplify cgsleep code for windows by using a typedef for cgtimer_t that resolves to clock resolution, using that internally.
Con Kolivas e56c9a5d 2013-08-18T16:49:15 Use the cgsleep reentrant function to sleep for bflsc between read results to account for time taken to perform reads.
Con Kolivas 3c707202 2013-08-18T16:46:27 Use 100ms delay between checking for results on all bflsc devices as the buffering of results mean checking more frequently just wastes CPU and causes more lock contention for only marginally better latencies.
Con Kolivas d71e9f91 2013-08-09T06:43:25 Add a --bflsc-overheat command which allows you to set the throttling temperature for BFLSC devices or disable it.
Con Kolivas 812852cc 2013-08-09T06:31:57 Move bflsc defines to a header file.
Kano 18e4edc7 2013-07-08T20:28:03 bflsc nonce per work item stats
Kano 89d0062a 2013-07-08T19:41:23 bflsc increase flush count to handle parallel work
Kano ad1572f7 2013-07-06T20:17:17 size check get_datestamp/get_timestamp and remove unused cgpu->init
Kano 385a70be 2013-07-06T19:15:59 make all statline overflow safe
Con Kolivas da680f51 2013-07-01T14:44:27 Don't count invalid nonces as hashrate for bflsc.
Kano 2beb30f1 2013-06-28T22:55:55 bflsc get volts stats needs its own GETVOLTS
Kano e8bbb49b 2013-06-27T00:39:25 bflsc x-link header different to documentation
ckolivas 9dc2f3f1 2013-06-25T11:21:28 Redo +1 fix in bflsc.
Con Kolivas a7f9bf3c 2013-06-23T15:37:00 Merge pull request #454 from kanoi/master bflsc - handle xlink timeouts by having generic IO functions
Con Kolivas f5911528 2013-06-24T08:17:27 Demote bflsc hw error messages to verbose logging only.
Kano f2bbfee7 2013-06-23T18:14:12 bflsc - handle xlink timeouts by having generic IO functions
Con Kolivas d741410f 2013-06-23T10:13:18 sc_count shouldn't be +1 in bflsc.
Con Kolivas 0cd2c5c3 2013-06-23T10:12:44 Use the info timeout for read_nl in getidentify bflsc.