driver-avalon.h


Log

Author Commit Date CI Message
Con Kolivas 7c683cf2 2013-06-21T10:59:55 Use low latency usb transfers on the avalon, sleeping up to half a buffer's worth only if no data is returning to increase hashrate, abolish lost work and decrease CPU.
ckolivas b59c3380 2013-06-06T13:08:00 Implement cgminer specific cgsem semaphores to imitate unnamed semaphore behaviour on osx which does not support them.
Con Kolivas eec1a86a 2013-05-30T22:53:07 Update copyrights of modified files.
Con Kolivas c0c5c060 2013-05-30T16:32:12 Provide some defaults for avalon if none are specified and do not try to claim the device if it fails to reset with them and no options are specified.
ckolivas 60bb463c 2013-05-29T11:45:47 Use semaphores to signal a reset to pause the read thread while the write thread does the actual reset, making all writes come from the same place.
Con Kolivas 772b354e 2013-05-28T23:59:07 Remove unneeded function and checks in avalon write code.
Con Kolivas 7748c469 2013-05-27T20:29:35 Make the avalon_read function parse the ftdi responses appopriately.
Con Kolivas 2a222ecf 2013-05-27T20:04:12 Use the avalon read timeout to completion if no data has been read.
Con Kolivas a32e521d 2013-05-27T17:17:42 Implement avalon_ready and avalon_wait_ready functions for when usb is ready to receive commands.
Con Kolivas 269a8de9 2013-05-27T15:43:22 First pass rewriting serialdev into direct usb dev for avalon driver.
Con Kolivas 8fea60f3 2013-05-27T15:01:13 Define a cts equivalent for direct usb and use it for avalon driver full.
Con Kolivas abfaf361 2013-05-27T12:30:13 Discard any reads obtained from the avalon get results thread during a reset.
Con Kolivas c9ca6ca7 2013-05-26T16:15:10 Tighter control over work submissions in avalon allows us to use a smaller array.
Con Kolivas 66e27a10 2013-05-26T14:37:45 Move avalon read thread start till after conditional wait, store idle status in avalon_info and use it to determine whether an error is appropriate or not.
Con Kolivas 7cf154bf 2013-05-26T14:23:14 Use AVA_GETS_OK macro in avalon_read.
Con Kolivas ebf88552 2013-05-26T14:18:21 Do all writes on avalon with a select() timeout to prevent indefinite blocking and loop if less than desired is written.
Con Kolivas 629feb5f 2013-05-26T13:16:19 Create a separate thread for handling all work and idle submission to the avalon which messages the scanhash function it has completed to update statistics.
Con Kolivas 74044467 2013-05-26T00:43:23 Created a threaded message parser for avalon reads.
Con Kolivas 569a6f65 2013-05-25T12:11:26 Do a non-blocking read of anything in the avalon buffer after opening the device.
Con Kolivas 6c5c6e99 2013-04-08T22:42:31 Reinstate the matching_work_count per subdevice on avalon based on the work subid.
Con Kolivas 0c35f67a 2013-04-08T15:36:18 Make the avalon array size a macro.
Con Kolivas 3671b2c3 2013-04-07T15:48:35 The read_count is unused by the avalon get result code and no longer required for avalon reset so simplify code removing it.
Con Kolivas 6752c247 2013-04-06T01:42:45 Remove unused per unit matching work count for avalon.
Con Kolivas 2f75a5d8 2013-04-06T01:03:21 Simplify avalon scanhash code using the new find_queued_work_bymidstate function. Partially works only.
Con Kolivas 71bae003 2013-04-05T14:52:07 First draft of port of avalon driver to new cgminer queued infrastructure.