113 Commits (87e5c76f4daf12153dd82e4f76853292684fb80a)

Author SHA1 Message Date
Con Kolivas eeac9d81fc Replace all references to the old n*sleep functions with the equivalent cgsleep_*s replacements. 12 years ago
Con Kolivas bedd8eeead Revert "Sleep for half a work period only in bflsc_get_results if no dev is suitable." 12 years ago
Con Kolivas fb66e8b7b7 Only grab a queued work item if we successfully grab the lock to submit work in bflsc_send_work 12 years ago
Con Kolivas dddc2d1e60 Revert "Reuse times extracted from the clock in bflsc_get_results." 12 years ago
Con Kolivas 1d8235334d Reuse times extracted from the clock in bflsc_get_results. 12 years ago
Con Kolivas 9743194547 Sleep for half a work period only in bflsc_get_results if no dev is suitable. 12 years ago
Con Kolivas a61e41a070 Check for thr->work_restart in restart_wait. 12 years ago
Con Kolivas 89f571f527 We should be using que_low to decrease scan sleep time in bflsc. 12 years ago
Con Kolivas 09dbd616e2 Prepare sleep time on bflsc if no dev needs work yet to avoid busy waiting. 12 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. 12 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. 12 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. 12 years ago
Con Kolivas d71e9f91f4 Add a --bflsc-overheat command which allows you to set the throttling temperature for BFLSC devices or disable it. 12 years ago
Con Kolivas 812852cc36 Move bflsc defines to a header file. 12 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
Kano 8f18d4c8b0 bflsc driver support for v2 firmware 12 years ago
Con Kolivas 6d8d44c233 Fanauto on bflsc is Z9X according to the source code, not 5 as per the draft protocol document. 12 years ago
Kano b8b137aeef USB make device_path handled by usbutils 12 years ago
Kano 749fa78d8a tidy up free in device detect functions 12 years ago
Kano 9287ee90f6 USB control creation and free of cgpu 12 years ago
Con Kolivas 24d26d9949 Throttling the BFLSC at 80 seems to prevent generating garbled responses of higher temps. 12 years ago
Con Kolivas 6fdc068f1b Revert "Give a generous timeout whenever we expect an OK message for working bflsc communications." 12 years ago
Con Kolivas 3d8cf60b96 Give a generous timeout whenever we expect an OK message for working bflsc communications. 12 years ago