140 Commits (4d2fa5bf176c2b95cb74e64fd24831a034124a77)

Author SHA1 Message Date
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
Kano a9faec4a4b change drivers to use usb_interface() - required for multi interface change 11 years ago
Kano 5520206a47 bflsc ensure getinfo cannot overflow it's storage buffer 11 years ago
Con Kolivas 69a2078e5d Revert to old custom tolines function since strtok_r is not portable. 11 years ago
Kano 42bb607ad4 bflsc remove unused commented out code 11 years ago
Kano 3aefcce41c logging - code mistake 11 years ago
Kano 0d4edbe9c1 logging - applogsiz() for large messages 11 years ago
Con Kolivas 1c66459c80 Include string.h in bflsc driver. 11 years ago
Con Kolivas 4c451adcb8 Get rid of linear removal of spaces in bflsc text parsing and use strstr throughout instead. 11 years ago
Con Kolivas a503ba8ba4 Use reentrant strtok in tolines() function in bflsc to avoid racing on contextless calls. 11 years ago
Con Kolivas 8d99a44993 Show how small a too small result in bflsc is. 11 years ago
Con Kolivas 83a8c1328c Duplicate the buffer in process_results in bflsc since strtok modifies it making debugging output limited to one line. 11 years ago
Con Kolivas 1403f4dd08 Only process nonces in bflsc is the breakdown function succeeds. 11 years ago
Con Kolivas 34d977c819 Revert "Ignore inprocess message when retrieved out of sync in bflsc while processing nonces." 11 years ago
Con Kolivas 791a8f65ba Ignore inprocess message when retrieved out of sync in bflsc while processing nonces. 11 years ago
Con Kolivas 2853a5d9d5 Temporarily revert inprocess parsing in bflsc pending fixes. 11 years ago
Con Kolivas 8aa50e19fa Ignore zero count messages in bflsc instead of trying to parse them. 11 years ago
Con Kolivas 2061e97c0f Return ok in tolines when it doesn't match inprocess message for bflsc. 11 years ago
Con Kolivas 0f712d5191 Remove inprocess line instead of deleting all following responses in bflsc. 11 years ago
Con Kolivas 9a86702955 Ignore responses from bflsc as INPROCESS 11 years ago
Con Kolivas cb914ab53f Change ok testing logic in breakdown() in bflsc and return if not ok at any stage. 11 years ago
Con Kolivas 6ff7893fdd Check the return value of tolines in bflsc driver. 11 years ago
Con Kolivas b0fe14d4b3 Use strtok to parse lines in bflsc driver. 11 years ago
Kano 6055a378d9 bflsc xlinkstr use snprintf 11 years ago
Con Kolivas e17a945277 Use take_queued_work_bymidstate in the bflsc driver to avoid the rare chance repeated results come back from the same work item. 11 years ago
Con Kolivas eeac9d81fc Replace all references to the old n*sleep functions with the equivalent cgsleep_*s replacements. 11 years ago
Con Kolivas bedd8eeead Revert "Sleep for half a work period only in bflsc_get_results if no dev is suitable." 11 years ago
Con Kolivas fb66e8b7b7 Only grab a queued work item if we successfully grab the lock to submit work in bflsc_send_work 11 years ago
Con Kolivas dddc2d1e60 Revert "Reuse times extracted from the clock in bflsc_get_results." 11 years ago
Con Kolivas 1d8235334d Reuse times extracted from the clock in bflsc_get_results. 11 years ago
Con Kolivas 9743194547 Sleep for half a work period only in bflsc_get_results if no dev is suitable. 11 years ago
Con Kolivas a61e41a070 Check for thr->work_restart in restart_wait. 11 years ago
Con Kolivas 89f571f527 We should be using que_low to decrease scan sleep time in bflsc. 11 years ago
Con Kolivas 09dbd616e2 Prepare sleep time on bflsc if no dev needs work yet to avoid busy waiting. 11 years ago
Con Kolivas 09e9091dd7 Simplify cgsleep code for windows by using a typedef for cgtimer_t that resolves to clock resolution, using that internally. 11 years ago
Con Kolivas e56c9a5d3b Use the cgsleep reentrant function to sleep for bflsc between read results to account for time taken to perform reads. 11 years ago
Con Kolivas 3c707202cf 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. 11 years ago
Con Kolivas d71e9f91f4 Add a --bflsc-overheat command which allows you to set the throttling temperature for BFLSC devices or disable it. 11 years ago
Con Kolivas 812852cc36 Move bflsc defines to a header file. 11 years ago
Kano 18e4edc776 bflsc nonce per work item stats 12 years ago
Kano 89d0062ac8 bflsc increase flush count to handle parallel work 12 years ago
Kano ad1572f77f size check get_datestamp/get_timestamp and remove unused cgpu->init 12 years ago
Kano 385a70bea7 make all statline overflow safe 12 years ago
Con Kolivas da680f5162 Don't count invalid nonces as hashrate for bflsc. 12 years ago
Kano 2beb30f13d bflsc get volts stats needs its own GETVOLTS 12 years ago
Kano e8bbb49b5b bflsc x-link header different to documentation 12 years ago
ckolivas 9dc2f3f175 Redo +1 fix in bflsc. 12 years ago
Con Kolivas f5911528bf Demote bflsc hw error messages to verbose logging only. 12 years ago