58 Commits (609ca9292a0ce60b5f93dab9ecc884fef77adfce)

Author SHA1 Message Date
Con Kolivas 8fb7a0d1be Always use a usb read buffer instead of having to explicitly enable it. 11 years ago
Adrian Port 178c9a0cc8 Revert two different hash_sequence(_head)'s to one variable, use HF_SEQUENCE_DISTANCE in both places 11 years ago
Adrian Port 065054f658 Structure changes for OP_NONCE, add big endian header 11 years ago
Con Kolivas fc6472fcb3 Minor buildfix for other platforms. 11 years ago
Con Kolivas 5ee279ca00 Add atmel init sequence likely to be required on hashfast for windows to work. 11 years ago
Con Kolivas 75726f6e00 Implement max temp and volt monitoring on statline for hashfast driver. 11 years ago
Con Kolivas f5679aaa61 Check for nodev on hashfast driver and disable it if it has disappeared. 11 years ago
Con Kolivas 1eb18061f8 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. 11 years ago
Con Kolivas ad8e0f13ea Free hashfast structures allocated on driver shutdown. 11 years ago
Con Kolivas cbb72aa041 Drop sending op_usb_init message level in hashfast driver to verbose logging. 11 years ago
Con Kolivas 2a92d2ada0 Make the cmd stored in hfa_cmd structure a uint8_t to match opcodes. 11 years ago
Con Kolivas a999611505 Op work restart needs a usb command macro offset for hashfast driver. 11 years ago
Con Kolivas 1bafafb5d3 Enable USB buffers for hashfast on initialise and clear buffers where appropriate. 11 years ago
Con Kolivas 17baf4548a Send correct command with hfa_send_frame in hashfast driver. 11 years ago
Con Kolivas eb1f54fbf2 Add die temperatures and voltages to hashfast api output. 11 years ago
Con Kolivas 5acaf1fd46 Add die statistics to hashfast api output. 11 years ago
Con Kolivas 9645c1a107 Add asic and core counts to hashfast api data. 11 years ago
Con Kolivas 1124853b22 Add hf_long_usb_stats1 to hashfast api data. 11 years ago
Con Kolivas 063b2db77c Add hf_usb_init_base info to hashfast api output. 11 years ago
Con Kolivas a9835b0472 Implement a shutdown routine for the hashfast driver. 11 years ago
Con Kolivas 71c6206d08 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. 11 years ago
Con Kolivas 6b2a39d298 Add op stats1 processing for the hashfast driver. 11 years ago
Con Kolivas 92a5a2d7a7 Implement update_die_statistics for hashfast driver. 11 years ago
Con Kolivas 51548c6134 Move to consistent function names hfa_ for hashfast driver. 11 years ago
Con Kolivas 8218ba2f06 Implement OP_NONCE processing in hashfast driver read thread. 11 years ago
Con Kolivas 0ae3e1ec04 Implement update_die_status message parsing for hashfast. 11 years ago
Con Kolivas f340c52c88 Implement reading of a whole hashfast packet from the read thread and parsing it, implementing parsing of gwq status. 11 years ago
Con Kolivas 38f10c0d42 Rename hfa_read thread on it starting. 11 years ago
Con Kolivas 53b33c8f18 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. 11 years ago
Con Kolivas 3dda8a213c Cosmetic changes to hashfast output. 11 years ago
Con Kolivas fe945e18ff Implement primary scanwork loop submitting work and returning hashrate for hashfast. 11 years ago
Con Kolivas 8b24b3d35e Send a work restart frame when the restart message is received in hashfast scanwork. 11 years ago
Con Kolivas 222af657a1 Remove hashfast write thread for all writes can be done from scanwork without added complexity. 11 years ago
Con Kolivas e9b67b50ae Pass the thr argument to the read and write threads for hashfast to have access to its data. 11 years ago
Con Kolivas 3c7af2e634 Join threads to close hashfast driver. 11 years ago
Con Kolivas 598b58c8ce Create basic read and write threads that will be used by hashfast driver. 11 years ago
Con Kolivas 93d1f93fdd Perform remainder of hashfast_detect_common setup. 11 years ago
Con Kolivas cbfa78eae4 Device data will not be allocated in hashfast_detect_one_usb so no point freeing it. 11 years ago
Con Kolivas 49befae6e4 Get remaining data from reset sequence on hashfast driver. 11 years ago
Con Kolivas 922b4d850d Store the device data returned from hashfast header returned in reset 11 years ago
Con Kolivas 775f2040e5 Check return code from hashfast_get_header in reset and fail when appropriate. 11 years ago
Con Kolivas d7a907f26e Timeout should not be a fatal error in hashfast_get_header 11 years ago
Con Kolivas 58dd80e459 Implement a hashfast get_header function which reads till it finds a header preamble or times out. 11 years ago
Con Kolivas 4b9eb3707b Implement hashfast send header function and add relevant usb op codes to arrays, beginning reset sequence on hashfast detection. 11 years ago
Con Kolivas df6873eff9 Remove old initialisation code from hashfast, use hf protocol library where possible and prepare for new driver model. 11 years ago
Con Kolivas 6e2d12e14a Remove now unused crc32 code from hashfast driver. 11 years ago
Con Kolivas 21bbe20d31 Remove now unnecessary forward declaration of hashfast_drv 11 years ago
Con Kolivas c2ef8ca6f5 Enable usb buffering on hashfast during init. 11 years ago
Con Kolivas 489722a62e Provide basic infrastructure for sending an arbitrary frame on hashfast. 11 years ago
Con Kolivas 62f6fefb12 Create a struct array of hashfast commands and their associated usb command names. 11 years ago