1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 06:48:05 +00:00
Commit Graph

13 Commits

Author SHA1 Message Date
Con Kolivas
c9ca6ca7e3 Tighter control over work submissions in avalon allows us to use a smaller array. 2013-05-26 16:15:10 +10:00
Con Kolivas
66e27a10c5 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. 2013-05-26 14:37:45 +10:00
Con Kolivas
7cf154bfa5 Use AVA_GETS_OK macro in avalon_read. 2013-05-26 14:23:14 +10:00
Con Kolivas
ebf885520d Do all writes on avalon with a select() timeout to prevent indefinite blocking and loop if less than desired is written. 2013-05-26 14:18:21 +10:00
Con Kolivas
629feb5f3f 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. 2013-05-26 13:16:19 +10:00
Con Kolivas
7404446781 Created a threaded message parser for avalon reads. 2013-05-26 00:43:23 +10:00
Con Kolivas
569a6f65a0 Do a non-blocking read of anything in the avalon buffer after opening the device. 2013-05-25 12:11:26 +10:00
Con Kolivas
6c5c6e99a3 Reinstate the matching_work_count per subdevice on avalon based on the work subid. 2013-04-08 22:42:31 +10:00
Con Kolivas
0c35f67aa9 Make the avalon array size a macro. 2013-04-08 15:36:18 +10:00
Con Kolivas
3671b2c310 The read_count is unused by the avalon get result code and no longer required for avalon reset so simplify code removing it. 2013-04-07 15:48:35 +10:00
Con Kolivas
6752c24750 Remove unused per unit matching work count for avalon. 2013-04-06 01:42:45 +11:00
Con Kolivas
2f75a5d89e Simplify avalon scanhash code using the new find_queued_work_bymidstate function. Partially works only. 2013-04-06 01:03:21 +11:00
Con Kolivas
71bae003bc First draft of port of avalon driver to new cgminer queued infrastructure. 2013-04-05 14:52:07 +11:00