32 Commits (f340c52c88b4e81b6dae16ae280bb757e1ece101)

Author SHA1 Message Date
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
Con Kolivas 45c8d60790 Add crc initialisation tables and helper functions for hashfast driver. 11 years ago
Con Kolivas b224ad37eb Provide initial set up code and structure initialisation for hashfast device detection. 11 years ago
Con Kolivas 78932aa1ed Provide basic structure for a hashfast driver. 11 years ago
Con Kolivas ece6295874 Add basic structures to hashfast header. 11 years ago
Con Kolivas f317e829ab Create basic skeleton and copyright notices for hashfast driver. 11 years ago
Con Kolivas cdaaff191e Provide stubs for compiling hashfast code into makefiles. 11 years ago