1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 14:58:01 +00:00
Commit Graph

24 Commits

Author SHA1 Message Date
Con Kolivas
3c7af2e634 Join threads to close hashfast driver. 2013-10-14 00:28:57 +11:00
Con Kolivas
598b58c8ce Create basic read and write threads that will be used by hashfast driver. 2013-10-14 00:18:23 +11:00
Con Kolivas
93d1f93fdd Perform remainder of hashfast_detect_common setup. 2013-10-13 22:34:16 +11:00
Con Kolivas
cbfa78eae4 Device data will not be allocated in hashfast_detect_one_usb so no point freeing it. 2013-10-13 22:26:26 +11:00
Con Kolivas
49befae6e4 Get remaining data from reset sequence on hashfast driver. 2013-10-13 22:25:48 +11:00
Con Kolivas
922b4d850d Store the device data returned from hashfast header returned in reset 2013-10-13 21:55:14 +11:00
Con Kolivas
775f2040e5 Check return code from hashfast_get_header in reset and fail when appropriate. 2013-10-13 21:49:57 +11:00
Con Kolivas
d7a907f26e Timeout should not be a fatal error in hashfast_get_header 2013-10-13 21:45:01 +11:00
Con Kolivas
58dd80e459 Implement a hashfast get_header function which reads till it finds a header preamble or times out. 2013-10-13 21:39:59 +11:00
Con Kolivas
4b9eb3707b Implement hashfast send header function and add relevant usb op codes to arrays, beginning reset sequence on hashfast detection. 2013-10-13 20:28:57 +11:00
Con Kolivas
df6873eff9 Remove old initialisation code from hashfast, use hf protocol library where possible and prepare for new driver model. 2013-10-13 17:23:51 +11:00
Con Kolivas
6e2d12e14a Remove now unused crc32 code from hashfast driver. 2013-10-13 16:57:28 +11:00
Con Kolivas
21bbe20d31 Remove now unnecessary forward declaration of hashfast_drv 2013-09-30 08:45:44 +10:00
Con Kolivas
f49a3c7657 Merge branch 'master' into hashfast
Conflicts:
	Makefile.am
	api.c
	cgminer.c
	configure.ac
	miner.h
	usbutils.c
	usbutils.h
2013-09-30 08:43:29 +10:00
Con Kolivas
293622cf2a Merge branch 'master' into hashfast
Conflicts:
	usbutils.c
	usbutils.h
2013-09-22 22:54:18 +10:00
Con Kolivas
c2ef8ca6f5 Enable usb buffering on hashfast during init. 2013-09-21 18:00:06 +10:00
Con Kolivas
489722a62e Provide basic infrastructure for sending an arbitrary frame on hashfast. 2013-09-21 17:44:48 +10:00
Con Kolivas
62f6fefb12 Create a struct array of hashfast commands and their associated usb command names. 2013-09-21 08:33:11 +10:00
Con Kolivas
45c8d60790 Add crc initialisation tables and helper functions for hashfast driver. 2013-09-19 17:34:26 +10:00
Con Kolivas
b224ad37eb Provide initial set up code and structure initialisation for hashfast device detection. 2013-09-19 12:34:00 +10:00
Con Kolivas
78932aa1ed Provide basic structure for a hashfast driver. 2013-09-19 10:38:08 +10:00
Con Kolivas
ece6295874 Add basic structures to hashfast header. 2013-09-19 09:51:03 +10:00
Con Kolivas
f317e829ab Create basic skeleton and copyright notices for hashfast driver. 2013-09-19 09:41:25 +10:00
Con Kolivas
cdaaff191e Provide stubs for compiling hashfast code into makefiles. 2013-09-19 09:35:35 +10:00