driver-hashfast.c


Log

Author Commit Date CI Message
Adrian Port 065054f6 2013-10-30T18:02:51 Structure changes for OP_NONCE, add big endian header
Con Kolivas fc6472fc 2013-10-23T12:55:32 Minor buildfix for other platforms.
Con Kolivas 5ee279ca 2013-10-21T13:30:17 Add atmel init sequence likely to be required on hashfast for windows to work.
Con Kolivas 75726f6e 2013-10-21T13:15:52 Implement max temp and volt monitoring on statline for hashfast driver.
Con Kolivas f5679aaa 2013-10-21T12:50:45 Check for nodev on hashfast driver and disable it if it has disappeared.
Con Kolivas 1eb18061 2013-10-21T12:42:54 Limit the number of work items we queue at any one time in the hashfast driver and do not keep updating the job count during the scanwork() loop to prevent indefinitely changing our tail.
Con Kolivas ad8e0f13 2013-10-21T12:25:15 Free hashfast structures allocated on driver shutdown.
Con Kolivas cbb72aa0 2013-10-21T12:17:13 Drop sending op_usb_init message level in hashfast driver to verbose logging.
Con Kolivas 2a92d2ad 2013-10-21T12:14:24 Make the cmd stored in hfa_cmd structure a uint8_t to match opcodes.
Con Kolivas a9996115 2013-10-21T11:20:47 Op work restart needs a usb command macro offset for hashfast driver.
Con Kolivas 1bafafb5 2013-10-21T11:05:38 Enable USB buffers for hashfast on initialise and clear buffers where appropriate.
Con Kolivas 17baf454 2013-10-20T16:52:34 Send correct command with hfa_send_frame in hashfast driver.
Con Kolivas eb1f54fb 2013-10-20T15:53:19 Add die temperatures and voltages to hashfast api output.
Con Kolivas 5acaf1fd 2013-10-20T15:27:54 Add die statistics to hashfast api output.
Con Kolivas 9645c1a1 2013-10-20T15:19:35 Add asic and core counts to hashfast api data.
Con Kolivas 1124853b 2013-10-20T15:17:00 Add hf_long_usb_stats1 to hashfast api data.
Con Kolivas 063b2db7 2013-10-20T15:06:03 Add hf_usb_init_base info to hashfast api output.
Con Kolivas a9835b04 2013-10-20T11:46:45 Implement a shutdown routine for the hashfast driver.
Con Kolivas 71c6206d 2013-10-20T11:28:27 Remove unused statistics from hashfast driver struct and don't pack hashfast info structs since there is no need for them to match the device ones identically.
Con Kolivas 6b2a39d2 2013-10-20T11:23:42 Add op stats1 processing for the hashfast driver.
Con Kolivas 92a5a2d7 2013-10-20T11:11:35 Implement update_die_statistics for hashfast driver.
Con Kolivas 51548c61 2013-10-20T11:05:10 Move to consistent function names hfa_ for hashfast driver.
Con Kolivas 8218ba2f 2013-10-20T10:57:17 Implement OP_NONCE processing in hashfast driver read thread.
Con Kolivas 0ae3e1ec 2013-10-19T18:24:50 Implement update_die_status message parsing for hashfast.
Con Kolivas f340c52c 2013-10-19T18:19:23 Implement reading of a whole hashfast packet from the read thread and parsing it, implementing parsing of gwq status.
Con Kolivas 38f10c0d 2013-10-14T18:09:27 Rename hfa_read thread on it starting.
Con Kolivas 53b33c8f 2013-10-14T17:46:58 Limit max diff internally used by hashfast driver to 256 to still get some nonces back to check for errors if mining at very high diff.
Con Kolivas 3dda8a21 2013-10-14T17:45:04 Cosmetic changes to hashfast output.
Con Kolivas fe945e18 2013-10-14T17:39:33 Implement primary scanwork loop submitting work and returning hashrate for hashfast.
Con Kolivas 8b24b3d3 2013-10-14T16:59:02 Send a work restart frame when the restart message is received in hashfast scanwork.
Con Kolivas 222af657 2013-10-14T16:51:21 Remove hashfast write thread for all writes can be done from scanwork without added complexity.
Con Kolivas e9b67b50 2013-10-14T16:19:52 Pass the thr argument to the read and write threads for hashfast to have access to its data.
Con Kolivas 3c7af2e6 2013-10-14T00:28:57 Join threads to close hashfast driver.
Con Kolivas 598b58c8 2013-10-14T00:18:23 Create basic read and write threads that will be used by hashfast driver.
Con Kolivas 93d1f93f 2013-10-13T22:34:16 Perform remainder of hashfast_detect_common setup.
Con Kolivas cbfa78ea 2013-10-13T22:26:26 Device data will not be allocated in hashfast_detect_one_usb so no point freeing it.
Con Kolivas 49befae6 2013-10-13T22:25:48 Get remaining data from reset sequence on hashfast driver.
Con Kolivas 922b4d85 2013-10-13T21:55:14 Store the device data returned from hashfast header returned in reset
Con Kolivas 775f2040 2013-10-13T21:49:57 Check return code from hashfast_get_header in reset and fail when appropriate.
Con Kolivas d7a907f2 2013-10-13T21:45:01 Timeout should not be a fatal error in hashfast_get_header
Con Kolivas 58dd80e4 2013-10-13T21:39:59 Implement a hashfast get_header function which reads till it finds a header preamble or times out.
Con Kolivas 4b9eb370 2013-10-13T20:28:57 Implement hashfast send header function and add relevant usb op codes to arrays, beginning reset sequence on hashfast detection.
Con Kolivas df6873ef 2013-10-13T17:23:51 Remove old initialisation code from hashfast, use hf protocol library where possible and prepare for new driver model.
Con Kolivas 6e2d12e1 2013-10-13T16:57:28 Remove now unused crc32 code from hashfast driver.
Con Kolivas 21bbe20d 2013-09-30T08:45:44 Remove now unnecessary forward declaration of hashfast_drv
Con Kolivas f49a3c76 2013-09-30T08:43:29 Merge branch 'master' into hashfast Conflicts: Makefile.am api.c cgminer.c configure.ac miner.h usbutils.c usbutils.h
Con Kolivas 293622cf 2013-09-22T22:54:18 Merge branch 'master' into hashfast Conflicts: usbutils.c usbutils.h
Con Kolivas c2ef8ca6 2013-09-21T18:00:06 Enable usb buffering on hashfast during init.
Con Kolivas 489722a6 2013-09-21T17:44:48 Provide basic infrastructure for sending an arbitrary frame on hashfast.
Con Kolivas 62f6fefb 2013-09-21T08:33:11 Create a struct array of hashfast commands and their associated usb command names.
Con Kolivas 45c8d607 2013-09-19T17:34:26 Add crc initialisation tables and helper functions for hashfast driver.
Con Kolivas b224ad37 2013-09-19T12:34:00 Provide initial set up code and structure initialisation for hashfast device detection.
Con Kolivas 78932aa1 2013-09-19T10:38:08 Provide basic structure for a hashfast driver.
Con Kolivas ece62958 2013-09-19T09:51:03 Add basic structures to hashfast header.
Con Kolivas f317e829 2013-09-19T09:41:25 Create basic skeleton and copyright notices for hashfast driver.
Con Kolivas cdaaff19 2013-09-19T09:35:35 Provide stubs for compiling hashfast code into makefiles.