121 Commits (2061e97c0fc31b7cb14e85a37e8dde1ac3dfb221)

Author SHA1 Message Date
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
Kano f2bbfee704 bflsc - handle xlink timeouts by having generic IO functions 12 years ago
Con Kolivas d741410f6d sc_count shouldn't be +1 in bflsc. 12 years ago
Con Kolivas 0cd2c5c3c8 Use the info timeout for read_nl in getidentify bflsc. 12 years ago
Kano e993cf3644 bflsc try getinfo twice 12 years ago
Con Kolivas af0ae8aa5b Decrease BAL and BAS latency to be just larger than one result read. 12 years ago
Con Kolivas 045e105dcc BFLSC latest firmware has its own thermal cutoff set to 90, so use the same value in case we have an old firmware that isn't throttling by itself. 12 years ago
Con Kolivas 7b42b83d3f Drop watermark low limits for bflsc. 12 years ago
Con Kolivas e172c987f3 Set the fanspeed on bflsc to max if we don't know the temperature. 12 years ago
Con Kolivas 7be081d81b Use a low watermark for queueing mandatory work on bflsc instead of zero. 12 years ago
Con Kolivas 0b5eb43696 Revert "Only wait in the bflsc scanwork loop if the queues are satisfactorily filled." 12 years ago
Con Kolivas a49969908c Only wait in the bflsc scanwork loop if the queues are satisfactorily filled. 12 years ago
Con Kolivas fa881badf4 Only mandatorily grab the bflsc mutex on submitting work when the queue is empty. 12 years ago
Con Kolivas 0fbd375ea3 Adjust bflsc v2 watermarks. 12 years ago
Con Kolivas 05adbbf1e9 Only increase sleep time on bflsc if the queue isn't emptying at all over the sleep duration. 12 years ago
Con Kolivas fe1a3752b7 Fix warning. 12 years ago
Kano a9fef661b9 bflsc yet more API stats 12 years ago
Kano 711328762f bflsc add some more API stats 12 years ago
Kano 3ac09fa2d9 bflsc correct firmware matching 12 years ago
Kano 84a5da0377 bflsc correct comment 12 years ago