Con Kolivas
|
db7c72b892
Rotate avalon array to reset the queued count before releasing the lock so work will always be available on next pass.
|
13 years ago |
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.
|
13 years ago |
Con Kolivas
|
0763070cb0
Wait till the avalon_send_tasks thread has filled the avalon with idle work before starting the avalon_get_results thread.
|
13 years ago |
Con Kolivas
|
7cf154bfa5
Use AVA_GETS_OK macro in avalon_read.
|
13 years ago |
Con Kolivas
|
ebf885520d
Do all writes on avalon with a select() timeout to prevent indefinite blocking and loop if less than desired is written.
|
13 years ago |
Con Kolivas
|
596784aaf3
Check explicitly that ava_buffer_full equals the macro.
|
13 years ago |
Con Kolivas
|
e9e6ad821d
Send initial reset as an avalon task to remove avalon_write function.
|
13 years ago |
Con Kolivas
|
e27ca54408
avalon_clear_readbuf is no longer required.
|
13 years ago |
Con Kolivas
|
7dc3485fc2
Check for 2 stray bytes on avalon reset.
|
13 years ago |
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.
|
13 years ago |
Con Kolivas
|
c87f4c303f
Give the avalon get results thread name the device number as well.
|
13 years ago |
Con Kolivas
|
4076e6b36e
Make sure we're not adjusting temps on every successful work retrieval on avalon.
|
13 years ago |
Con Kolivas
|
4784ecce75
Count missing work items from behind a successful work read in avalon as well.
|
13 years ago |
Con Kolivas
|
70a3e885e0
Change message for work not found in avalon parser.
|
13 years ago |
Con Kolivas
|
fba70ff593
Simplify debugging and only discard from avalon read buffer if at least one full result has been discarded.
|
13 years ago |
Con Kolivas
|
7324a33b55
Only display discarded bytes in avalon if they're not used as nonces.
|
13 years ago |
Con Kolivas
|
be3224f933
Only loop once through avalon_parse_results, but do so after timeouts as well.
|
13 years ago |
Con Kolivas
|
1f08809a7f
Only debug and move ram if spare bytes exist in avalon buffer.
|
13 years ago |
Con Kolivas
|
9f59e9a6d6
Remove off by one error.
|
13 years ago |
Con Kolivas
|
0a82b255eb
Inverted logic.
|
13 years ago |
Con Kolivas
|
b6b1abb5d9
Add more debugging to avalon reads.
|
13 years ago |
Con Kolivas
|
ab73935875
Convert unsigned size_ts to ints for parsing avalon messages.
|
13 years ago |
Con Kolivas
|
bb06c2f01b
Cope with not finding nonces in avalon parsing gracefully by not overflowing buffers.
|
13 years ago |
Con Kolivas
|
e9429f3886
Adjust avalon temp values on one lot of valid nonces from the parser.
|
13 years ago |
Con Kolivas
|
7404446781
Created a threaded message parser for avalon reads.
|
13 years ago |
Con Kolivas
|
ff44696a20
Avalon_wait_write is not effective during resets so do it after going idle.
|
13 years ago |
Con Kolivas
|
4794ce702e
Send only a single byte reset.
|
13 years ago |
Con Kolivas
|
e2c4379290
Repeat going idle after avalon reset, and wait for write ready before sending each reset request instead of some arbitrary sleep time.
|
13 years ago |
Con Kolivas
|
a1cec2cdaf
Revert "Send full avalon init task for reset."
|
13 years ago |
Con Kolivas
|
fa1bca3118
Send full avalon init task for reset.
|
13 years ago |