113 Commits (572df102073af08de6f0c0d6e63e81852439b34b)

Author SHA1 Message Date
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 11 years ago
Kano 89d0062ac8 bflsc increase flush count to handle parallel work 11 years ago
Kano ad1572f77f size check get_datestamp/get_timestamp and remove unused cgpu->init 11 years ago
Kano 385a70bea7 make all statline overflow safe 11 years ago
Con Kolivas da680f5162 Don't count invalid nonces as hashrate for bflsc. 11 years ago
Kano 2beb30f13d bflsc get volts stats needs its own GETVOLTS 11 years ago
Kano e8bbb49b5b bflsc x-link header different to documentation 11 years ago
ckolivas 9dc2f3f175 Redo +1 fix in bflsc. 11 years ago
Con Kolivas f5911528bf Demote bflsc hw error messages to verbose logging only. 11 years ago
Kano f2bbfee704 bflsc - handle xlink timeouts by having generic IO functions 11 years ago
Con Kolivas d741410f6d sc_count shouldn't be +1 in bflsc. 11 years ago
Con Kolivas 0cd2c5c3c8 Use the info timeout for read_nl in getidentify bflsc. 11 years ago
Kano e993cf3644 bflsc try getinfo twice 11 years ago
Con Kolivas af0ae8aa5b Decrease BAL and BAS latency to be just larger than one result read. 11 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. 11 years ago
Con Kolivas 7b42b83d3f Drop watermark low limits for bflsc. 11 years ago
Con Kolivas e172c987f3 Set the fanspeed on bflsc to max if we don't know the temperature. 11 years ago
Con Kolivas 7be081d81b Use a low watermark for queueing mandatory work on bflsc instead of zero. 11 years ago
Con Kolivas 0b5eb43696 Revert "Only wait in the bflsc scanwork loop if the queues are satisfactorily filled." 11 years ago
Con Kolivas a49969908c Only wait in the bflsc scanwork loop if the queues are satisfactorily filled. 11 years ago
Con Kolivas fa881badf4 Only mandatorily grab the bflsc mutex on submitting work when the queue is empty. 11 years ago
Con Kolivas 0fbd375ea3 Adjust bflsc v2 watermarks. 11 years ago
Con Kolivas 05adbbf1e9 Only increase sleep time on bflsc if the queue isn't emptying at all over the sleep duration. 11 years ago
Con Kolivas fe1a3752b7 Fix warning. 11 years ago
Kano a9fef661b9 bflsc yet more API stats 11 years ago
Kano 711328762f bflsc add some more API stats 11 years ago
Kano 3ac09fa2d9 bflsc correct firmware matching 11 years ago
Kano 84a5da0377 bflsc correct comment 11 years ago
Kano 8f18d4c8b0 bflsc driver support for v2 firmware 11 years ago
Con Kolivas 6d8d44c233 Fanauto on bflsc is Z9X according to the source code, not 5 as per the draft protocol document. 11 years ago
Kano b8b137aeef USB make device_path handled by usbutils 11 years ago
Kano 749fa78d8a tidy up free in device detect functions 11 years ago
Kano 9287ee90f6 USB control creation and free of cgpu 11 years ago
Con Kolivas 24d26d9949 Throttling the BFLSC at 80 seems to prevent generating garbled responses of higher temps. 11 years ago
Con Kolivas 6fdc068f1b Revert "Give a generous timeout whenever we expect an OK message for working bflsc communications." 11 years ago
Con Kolivas 3d8cf60b96 Give a generous timeout whenever we expect an OK message for working bflsc communications. 11 years ago