Con Kolivas
2d35ac2567
Track all dynamically allocated memory within the work struct by copying work structs in a common place, creating freshly allocated heap ram for all arrays within the copied struct.
...
Clear all work structs from the same place to ensure memory does not leak from arrays within the struct.
Convert the gbt coinbase and stratum strings within the work struct to heap ram.
This will allow arbitrary lengths without an upper limit for the strings, preventing the overflows that happen with GBT.
2012-11-24 10:47:20 +11:00
Con Kolivas
86fd23a305
Convert remaining modminer and bfl uses of usleep to nmsleep.
2012-11-18 22:25:28 +11:00
Paul Sheppard
9f74e650b3
Tidy up device error counts
2012-11-04 20:17:43 -08:00
Kano
fc14b2ee07
MMQ new initialisation (that works) and clocking control
2012-10-17 09:56:42 +11:00
Con Kolivas
b41de69c35
Fix various modminer warnings on mingw.
2012-10-07 18:23:35 +11:00
Con Kolivas
58bba40a03
fds need to be zeroed before set in modminer.
2012-10-07 10:19:52 +11:00
Kano
8f4ccebf0d
remove MMQ unused variable warning
2012-09-16 11:47:54 +10:00
Kano
ad7aa2b382
FPGA - allow long or short device names in detect code + style police
2012-09-16 11:42:51 +10:00
Kano
307d8da034
HW: error counter auto for all devices - ztex code not fixed
2012-09-04 15:57:11 +10:00
Con Kolivas
0a79de9375
Convert the serial autodetect functions to use int instead of char to enumerate devices.
2012-08-07 20:55:55 +10:00
ckolivas
5c7e03084a
Modify te scanhash API to use an int64_t and return -1 on error, allowing zero to be a valid return value.
2012-07-11 22:59:58 +10:00
Luke Dashjr
d4af2d0535
Turn work_restart array into a bool in thr_info
2012-07-06 05:13:05 +00:00
ckolivas
1e9421475c
Timersub is supported on all build platforms so do away with custom timerval_subtract function.
2012-07-01 10:44:23 +10:00
Con Kolivas
d594aaf80f
Merge pull request #227 from luke-jr/serialusb
...
FPGA - allow device detect override without an open failure
2012-06-19 04:42:32 -07:00
Luke Dashjr
1215da39ee
modminer: Don't delay 2nd+ FPGAs during work restart
...
Add primary_thread boolean to threads to identify a single one as the "primary" thread for shared-resource multithreading.
This is needed since ModMiners use multiple threads to interface with independent hashing components.
2012-06-18 05:51:09 +00:00
Kano
4dee0d049c
FPGA - allow device detect override without an open failure
2012-06-14 15:10:02 +00:00
Con Kolivas
30bb3c62a6
Merge pull request #224 from kanoi/master
...
API add ModMinerQuad support
2012-06-14 02:38:24 -07:00
Luke Dashjr
b76053efea
Bugfix: modminer: Fix unsigned/signed comparison and similar warnings
2012-06-13 17:03:21 +00:00
Kano
913221c373
API add ModMinerQuad support
2012-06-14 02:57:37 +10:00
Con Kolivas
67611949dc
Merge pull request #221 from luke-jr/cg_modminer
...
ModMiner cleanups and improvements
2012-06-12 19:55:37 -07:00
Luke Dashjr
a78d616bc5
modminer: Temperature sensor improvements
...
Display the temperature of each of the (up to) 4 FPGAs
2012-06-12 17:04:03 +00:00
Luke Dashjr
9f872d1de6
modminer: Make log messages more consistent in format
2012-06-12 17:03:47 +00:00
Kano
86034f87df
ModMiner use valid .name
2012-06-12 20:19:32 +10:00
Luke Dashjr
76f96f4717
New driver: BTCFPGA ModMiner
2012-06-12 02:38:36 +00:00