driver-bflsc.c


Log

Author Commit Date CI Message
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.
Kano e993cf36 2013-06-23T10:01:18 bflsc try getinfo twice
Con Kolivas af0ae8aa 2013-06-19T12:09:30 Decrease BAL and BAS latency to be just larger than one result read.
Con Kolivas 045e105d 2013-06-19T11:42:43 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.
Con Kolivas 7b42b83d 2013-06-19T11:38:45 Drop watermark low limits for bflsc.
Con Kolivas e172c987 2013-06-19T11:29:53 Set the fanspeed on bflsc to max if we don't know the temperature.
Con Kolivas 7be081d8 2013-06-19T11:24:04 Use a low watermark for queueing mandatory work on bflsc instead of zero.
Con Kolivas 0b5eb436 2013-06-19T10:46:28 Revert "Only wait in the bflsc scanwork loop if the queues are satisfactorily filled." This reverts commit a49969908cacbde175cc5d02d7a68f2d4e311e79. Makes the driver busy wait.
Con Kolivas a4996990 2013-06-19T10:40:03 Only wait in the bflsc scanwork loop if the queues are satisfactorily filled.
Con Kolivas fa881bad 2013-06-19T10:22:54 Only mandatorily grab the bflsc mutex on submitting work when the queue is empty.
Con Kolivas 0fbd375e 2013-06-19T09:43:36 Adjust bflsc v2 watermarks.
Con Kolivas 05adbbf1 2013-06-19T09:42:32 Only increase sleep time on bflsc if the queue isn't emptying at all over the sleep duration.
Con Kolivas fe1a3752 2013-06-19T08:57:08 Fix warning.
Kano a9fef661 2013-06-19T02:50:03 bflsc yet more API stats
Kano 71132876 2013-06-19T02:30:06 bflsc add some more API stats
Kano 3ac09fa2 2013-06-19T01:02:20 bflsc correct firmware matching
Kano 84a5da03 2013-06-19T00:58:35 bflsc correct comment
Kano 8f18d4c8 2013-06-19T00:52:13 bflsc driver support for v2 firmware
Con Kolivas 6d8d44c2 2013-06-17T09:57:13 Fanauto on bflsc is Z9X according to the source code, not 5 as per the draft protocol document.
Kano b8b137ae 2013-06-10T15:59:02 USB make device_path handled by usbutils
Kano 749fa78d 2013-06-10T15:39:44 tidy up free in device detect functions
Kano 9287ee90 2013-06-10T15:22:37 USB control creation and free of cgpu
Con Kolivas 24d26d99 2013-06-10T02:54:18 Throttling the BFLSC at 80 seems to prevent generating garbled responses of higher temps.
Con Kolivas 6fdc068f 2013-06-09T23:00:36 Revert "Give a generous timeout whenever we expect an OK message for working bflsc communications." This reverts commit 3d8cf60b96f908388f9d7ed7cf9d4dcade0dadf7.
Con Kolivas 3d8cf60b 2013-06-09T22:58:07 Give a generous timeout whenever we expect an OK message for working bflsc communications.
Con Kolivas 9b00529c 2013-06-09T22:39:21 Return after failed bin2hex conversion in bflsc.
Con Kolivas 12a2cb0d 2013-06-09T22:37:49 Demote failed hex2bin result to LOG_INFO and check return result in driver-bflsc to avoid doing find_work_by_midstate.
Con Kolivas 4f36d38c 2013-06-09T22:00:49 Revert "Only return one nonce range per device per cycle through scanwork in bflsc to avoid batching of result count." This reverts commit 4530a74e0b0ad54f4121cc55acd195399bc6f690.
Con Kolivas 6d7f079f 2013-06-09T21:53:48 Set bflsc cutofftemp to 90 degrees.
Con Kolivas 4530a74e 2013-06-09T21:52:42 Only return one nonce range per device per cycle through scanwork in bflsc to avoid batching of result count.
Con Kolivas 9451c49e 2013-06-09T21:43:16 Nominally set bflsc cutofftemp to 85 degrees.
Con Kolivas 630e7d76 2013-06-09T21:33:20 Set BFLSC fan speed coarsely to keep it under 60 or auto as per specs saying it tries to stay below 60.
Con Kolivas 7f1ce190 2013-06-09T17:22:23 Move macro definition to bflsc driver
Con Kolivas 641545aa 2013-06-09T17:19:20 Use a longer timeout for retrieving bflsc details.
Kano 1bec4904 2013-06-05T12:11:40 BFLSC enable buffered USB reading
Kano 6aed9a51 2013-06-05T01:49:48 bflsc & icarus use usb_ftdi_set_latency
Kano a16f51fb 2013-06-04T22:37:00 correct bflsc BFLSC_BUFSIZ max calculation
Kano 1c64f3b6 2013-06-04T13:17:57 usb set FTDI latency higher to minimise status bytes
Kano c9cc7445 2013-05-20T02:52:07 miner.h remove unused device_file and add device_data
Kano 250e4353 2013-05-18T01:39:56 usbutils/icarus separate FTDI transfer values and more debug
Kano e89c921a 2013-05-16T22:16:15 usb add a numeric sub-indentity for each name
Kano 2631b55e 2013-05-16T21:38:55 usbutils - make FTDI handling automatic
Con Kolivas fb249975 2013-05-03T22:24:11 Make FULLNONCE an ULL to fix a warning on 32 bit.
Kano 2c97b8b8 2013-04-28T19:00:25 usb_init() allow it to ignore a device and show no message
Con Kolivas 4ef01a00 2013-04-28T17:35:51 Count various failures as hw errors on bflsc.
Con Kolivas 08c13a13 2013-04-28T15:47:12 Init rwlock for bflsc stat_lock.
Kano 2517a8a4 2013-04-28T10:00:32 bflsc ensure buffer is bigger than max reply
Kano ac135bf3 2013-04-28T09:40:29 bflsc ignore very first work item nonce error - could be from before
Kano a7c30795 2013-04-28T09:24:46 bflsc more detailed results failure messages
Con Kolivas a2d18892 2013-04-28T09:13:17 Do not sleep longer than 2s max in bflsc scan code to stabilise displayed 5s hashrate, put locking around values, and set a minimum of 1ms.
Kano b30f9bb7 2013-04-27T17:00:33 bflsc unres the res
Kano dd8fe19b 2013-04-27T16:49:01 bflsc tidy up getinfo() and add to api
Kano 55b3d407 2013-04-27T16:15:52 bflsc guess device ~based on current V1 Jalapeno engine count
Kano de009dab 2013-04-27T15:55:39 bflsc only need one xlinkstr
Kano 66154e9f 2013-04-27T15:32:37 bflsc flush/clear output que when we initialise
Kano ea8aa1aa 2013-04-27T15:21:30 bflsc seperate BFLSC_QRES
Kano 4bfa4c30 2013-04-27T14:39:31 bflsc queue_full shouldn't ask for more work if device is zombie
Con Kolivas 4f0f5fb7 2013-04-27T14:22:50 Make the scan sleep time after scanwork in bflsc dynamic to keep queues between watermark levels.
Con Kolivas b0e6f68b 2013-04-27T01:04:30 Remove unused temp counts in bflsc.
Con Kolivas e70e7b5b 2013-04-27T01:02:35 Calculate a rolling 5 min average set of temperatures for bflsc.
Con Kolivas 31fc0bc7 2013-04-27T00:49:03 Damp the display of voltage for BFLSC devices.
Con Kolivas d6720ee0 2013-04-27T00:41:01 Damp the temperature display measurement for bflsc since it fluctuates so wildly.
Kano bd4d04b2 2013-04-27T00:07:42 bflsc add volt stats
Con Kolivas 21fd80df 2013-04-26T23:22:19 Handle failed tolines command in bflsc driver.
Con Kolivas 6db97452 2013-04-26T20:47:25 Can use a read lock instead of a write lock in bflsc scanwork.
Con Kolivas 045d0362 2013-04-26T20:35:05 Since we are filling a queue on the bflsc devices, there is no need to run through scanwork frequently provided we use the restart_wait function to abort early during a block change.
Con Kolivas f1624e13 2013-04-26T20:07:43 Remove flushed work in bfl scanwork from the hash table.
Con Kolivas 11baa327 2013-04-26T19:33:14 Set correct device in process_nonces in bflsc driver.
Kano 93e3e8c9 2013-04-26T18:57:40 bflsc add work reply INPROCESS: missing from the spec
Kano 5121163e 2013-04-26T18:26:20 bflsc put in some error messages not yet written
Kano 8fe17e9d 2013-04-26T17:28:46 bflsc get completed hashes as late as possible
Con Kolivas 5d8273a3 2013-04-26T17:00:22 Fix potential memory leak with unused work items in bflsc_queue_full
Con Kolivas f5e3448f 2013-04-26T16:55:52 Reverse bools in bflsc_queue_full
Con Kolivas 9b53e599 2013-04-26T16:38:17 Avoid recursive loop calling correct function instead.
Kano a44f6d28 2013-04-26T15:40:56 bflsc fix details identification
Kano 179cc524 2013-04-26T14:15:32 BFLSC fix FPGA identity overlap
Con Kolivas a84e424b 2013-04-26T13:04:20 Locking error in bflsc_send_work
Con Kolivas cbe13be8 2013-04-26T12:57:21 Use htobe32 function for converting nonce in bflsc.
Con Kolivas 102b9477 2013-04-26T12:54:48 Replace deprecated bzero with memset in bflsc driver.
Con Kolivas 5c1ecaff 2013-04-26T12:48:33 Fix compilation of bflsc driver without opencl.
Con Kolivas 4c8acdf9 2013-04-26T12:44:01 Check for realloc failures in bflsc driver.
Con Kolivas b0f8b278 2013-04-26T12:41:19 Check for failure to calloc in bflsc driver.
Con Kolivas 5c300591 2013-04-26T12:39:21 Trivial style change
Con Kolivas c3039122 2013-04-26T12:35:14 Use copy_time function in bflsc driver.
Con Kolivas 41fa60ce 2013-04-26T12:32:28 Use cgtime in bflsc driver and update copyright notice.
Con Kolivas e92b13a2 2013-04-26T12:21:25 Use a separate function for bfl initialise that doesn't require locking.
Kano c769db69 2013-04-26T10:32:28 bflsc v0.1