driver-avalon.c


Log

Author Commit Date CI Message
Xiangfu dd1c8bd1 2013-04-08T23:55:09 fix the fan control on max temp2/3
Xiangfu f6893013 2013-04-08T23:39:08 for some reason network down. one simple cgminer command: "cgminer -o 127.0.0.1:8888 -O fa:ke --avalon-options 115200:32:10:50:256" can idle the avalon for safe power and protect chip
Xiangfu d57a4e0c 2013-04-08T23:37:04 if hash_count == 0; reinit avalon, fix the 0MHS bug use the max value of temp1 and temp2 for fan control
Con Kolivas 6c5c6e99 2013-04-08T22:42:31 Reinstate the matching_work_count per subdevice on avalon based on the work subid.
Con Kolivas c2a6392a 2013-04-08T22:29:32 Avalon driver is missing the drv_id.
Con Kolivas 0c35f67a 2013-04-08T15:36:18 Make the avalon array size a macro.
Con Kolivas 8a90b5dd 2013-04-08T15:05:30 Use replacement of work items in the avalon buffer as needed instead of flushing them.
Con Kolivas 1c4d1ac8 2013-04-08T14:08:54 Reinstate wrong work count to reset avalon regardless and display number of wrong results.
Con Kolivas 47309e1a 2013-04-08T14:04:38 Revert "The result_wrong measurement for avalon is continually leading to false positives so remove it." This reverts commit 08c0ac290c1196b77388e747ced15d92fce57f18.
Con Kolivas af658702 2013-04-08T12:01:16 select() on serial usb in avalon does not work properly with zero timeout.
Con Kolivas 08c0ac29 2013-04-08T11:59:32 The result_wrong measurement for avalon is continually leading to false positives so remove it.
Con Kolivas 64ecfa53 2013-04-08T11:32:24 Revert "Use only 2 queued work arrays in avalon." This reverts commit 0ea9d68d6786473b641bc377651b908aeeab06a2. This was leading to failure to find work items on block changes.
Con Kolivas af6111fb 2013-04-08T11:22:25 Use no timeout on further reads in avalon_gets
Con Kolivas ad55fbf9 2013-04-08T11:20:10 Do sequential reads in avalon_get_reset to cope with partial reads.
Con Kolivas 385f1cd8 2013-04-08T10:39:16 Show read discrepancy in avalon_get_reset.
Con Kolivas 4e2b1076 2013-04-08T10:37:48 Reuse avalon_get_work_count variable.
Con Kolivas fb34cb17 2013-04-08T10:34:47 Check for AVA_GETS_RESTART when deciding if avalon has messed up.
Con Kolivas 8b0531fb 2013-04-08T10:13:15 Make the detection of all wrong results on avalon much more conservative to avoid false positives on work restarts.
Con Kolivas c6b9a3ee 2013-04-08T09:48:23 Show error codes on select and read fail in avalon.
Con Kolivas 5e3474b0 2013-04-08T09:04:10 If we get a restart message in avalon_gets still check if there's a receive message to parse first without a timeout before returning AVA_GETS_RESTART.
Con Kolivas 0ea9d68d 2013-04-08T08:28:53 Use only 2 queued work arrays in avalon.
Con Kolivas afd6f427 2013-04-07T16:09:26 avalon_gets is always called from the one call site so inline it.
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 dec90b96 2013-04-07T15:35:36 Use a separate avalon_get_reset function for resetting avalon instead of using avalon_get_result.
Con Kolivas ea70300a 2013-04-07T15:03:08 The current hash count returned by avalon scanhash is just an obfuscated utility counter so make it explicit.
Con Kolivas 53a047d0 2013-04-07T14:53:36 Check for a restart before a timeout in message parsing code in avalon.
Con Kolivas 0da88687 2013-04-07T14:45:54 We should check for a restart message before checking for a timeout in avalon scanhash.
Con Kolivas 8e69d75f 2013-04-07T11:59:14 Store the subid for the work item in avalon.
Con Kolivas d9ba82c6 2013-04-07T02:21:29 Fix record_temp_fan function in avalon driver. Patch by Xiangfu <xiangfu@openmobilefree.net>
Con Kolivas 8b2b9b3d 2013-04-07T02:06:21 Remove inappropriate memset of struct avalon result which was corrupting fan values.
Con Kolivas 809fec91 2013-04-06T18:27:38 Only do_avalon_close once on multiple errors.
Con Kolivas 689f744b 2013-04-06T18:12:45 Reset the result_wrong count on block change in avalon scanhash to prevent false positives for all nonces failed.
Con Kolivas dd1a0d63 2013-04-06T15:09:07 Rotate the avalon work array and free work on AVA_SEND_BUFFER_EMPTY as well.
Con Kolivas 5f041e1a 2013-04-06T12:51:59 Don't get any work if our queue is already full in avalon_fill.
Con Kolivas b2106b3a 2013-04-06T11:18:21 Free avalon->works in the event we call avalon_prepare on failure to initialise.
Con Kolivas be5a20c8 2013-04-06T02:29:21 Fix warnings.
Con Kolivas 67be00e4 2013-04-06T02:25:48 Create an array of 4 lots of work for avalon and cycle through them.
Con Kolivas 6752c247 2013-04-06T01:42:45 Remove unused per unit matching work count for avalon.
Con Kolivas 7dda3e44 2013-04-06T01:34:40 Rename the confusing avalon_info pointer.
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 2f371f13 2013-04-05T20:26:29 Use correct struct device_drv for avalon_drv.
Con Kolivas 23fa953b 2013-04-05T18:51:20 Check enough work is queued before queueing more in avalon_fill.
Con Kolivas f0806c68 2013-04-05T18:34:05 Actually put the work in the avalon queue.
Con Kolivas 18023022 2013-04-05T18:31:20 Rneame avalon_api to avalon_drv.
Con Kolivas 71bae003 2013-04-05T14:52:07 First draft of port of avalon driver to new cgminer queued infrastructure.
Con Kolivas dea35d33 2013-04-05T13:32:09 Add Makefile entry for driver-avalon.