Con Kolivas
|
598b58c8ce
Create basic read and write threads that will be used by hashfast driver.
|
12 years ago |
Con Kolivas
|
93d1f93fdd
Perform remainder of hashfast_detect_common setup.
|
12 years ago |
Con Kolivas
|
cbfa78eae4
Device data will not be allocated in hashfast_detect_one_usb so no point freeing it.
|
12 years ago |
Con Kolivas
|
49befae6e4
Get remaining data from reset sequence on hashfast driver.
|
12 years ago |
Con Kolivas
|
922b4d850d
Store the device data returned from hashfast header returned in reset
|
12 years ago |
Con Kolivas
|
775f2040e5
Check return code from hashfast_get_header in reset and fail when appropriate.
|
12 years ago |
Con Kolivas
|
d7a907f26e
Timeout should not be a fatal error in hashfast_get_header
|
12 years ago |
Con Kolivas
|
58dd80e459
Implement a hashfast get_header function which reads till it finds a header preamble or times out.
|
12 years ago |
Con Kolivas
|
4b9eb3707b
Implement hashfast send header function and add relevant usb op codes to arrays, beginning reset sequence on hashfast detection.
|
12 years ago |
Con Kolivas
|
e7a9aef65b
Add hf_protocol.h to cgminer sources.
|
12 years ago |
Con Kolivas
|
176cae2700
Add basic definitions for hashfast device recognition.
|
12 years ago |
Con Kolivas
|
df6873eff9
Remove old initialisation code from hashfast, use hf protocol library where possible and prepare for new driver model.
|
12 years ago |
Con Kolivas
|
f1941db061
Minor style changes.
|
12 years ago |
Con Kolivas
|
4664350c23
Include hf protocol header.
|
12 years ago |
Con Kolivas
|
6e2d12e14a
Remove now unused crc32 code from hashfast driver.
|
12 years ago |
Con Kolivas
|
9b5c534911
Merge branch 'master' into hashfast
|
12 years ago |
Con Kolivas
|
9d29e0940a
Merge branch 'master' into libusbx
|
12 years ago |
Con Kolivas
|
84de52c1c6
Use a write lock when performing any USB control transfers to prevent concurrent transfers.
|
12 years ago |
Luke Dashjr
|
e5c8054b78
Merge commit '9459f1b' into bfgminer
|
12 years ago |
Luke Dashjr
|
9459f1b6e9
littlefury: Workaround Xcode bug initialising fields in anonymous unions
|
12 years ago |
Luke Dashjr
|
6f1db36fc9
Merge commit 'f066796' into bfgminer
|
12 years ago |
Luke Dashjr
|
f066796257
Bugfix: write_config: Make intensity list writing more readable, and avoid extraneous argument in dynamic intensity case
|
12 years ago |
Con Kolivas
|
c069028648
Free a libusb transfer after we have finished using it to avoid a dereference in usb_control_transfer
|
12 years ago |
Con Kolivas
|
578fabe07c
Do not perform bfi int patching for opencl1.2 or later.
|
12 years ago |
Luke Dashjr
|
6422e2d9c1
Merge commit 'a12a057' into bfgminer
|
12 years ago |
Con Kolivas
|
84f642f563
Although async transfers are meant to use heap memory, we never return before the transfer function has completed so stack memory will suffice for control transfers, fixing a memory leak in the process.
|
12 years ago |
Luke Dashjr
|
a12a057f3a
DevAPI: Trigger mt_disable_start after init, if a device is disabled before minerloop starts
|
12 years ago |
Luke Dashjr
|
59f37175d6
icarus: Skip sending new work if entering DEV_RECOVER* modes
|
12 years ago |
Luke Dashjr
|
20df39172c
Merge commit '5a9cd98' into bfgminer
|
12 years ago |
Luke Dashjr
|
5a9cd9831c
icarus: When disabling, close device fd and stop sending new work
|
12 years ago |