1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-01 18:55:36 +00:00
Commit Graph

46 Commits

Author SHA1 Message Date
Kano
b9968156ba MMQ rewrite the last of the old scanhash loop and drastically reduce CPU 2013-02-13 11:15:20 +11:00
Kano
7abf30b2c0 distinguish between drv and it's id enum now called drv_id 2013-02-03 22:51:05 +11:00
Kano
8fbc4dade6 MMQ must copy USB bus:device due to usbinfo change 2013-02-02 20:14:45 +11:00
Kano
d057791915 Capitalise driver long names used in applog messages 2013-02-02 20:14:37 +11:00
Kano
7fbc3770b4 USB move usbdev info that needs to stay around into usbinfo 2013-02-02 20:14:36 +11:00
Kano
92abe36f12 MMQ include USB devpath in detection error messages 2013-02-02 20:14:32 +11:00
Kano
a52522af37 MMQ it's a bitstream 2013-02-02 20:14:31 +11:00
Kano
34bcc1c66d USB automatically handle losing the device and report nodev in the API 2013-02-02 20:14:29 +11:00
Kano
f9e04a3c5b device_drv - allow .name to be changed before add_cgpu() 2013-02-02 20:14:23 +11:00
Kano
a344deb6ac rename device_api -> device_drv and all related api -> drv and add a device_drv->drv enum for identifying which driver each is 2013-02-02 20:14:19 +11:00
Kano
473d9095e4 MMQ missing firmware -> ERR not DEBUG 2012-12-19 16:15:11 +11:00
Kano
f0003055a4 MMQ ensure delta clock can never exceed limits 2012-12-19 14:30:48 +11:00
Kano
d848289e8c MMQ lowercase new string constants 2012-12-19 14:25:58 +11:00
Kano
4ab19c7de6 MMQ add api pgaset for clock 2012-12-19 10:56:00 +11:00
Kano
5ab2f3a7cf MMQ style police 2012-12-17 13:35:14 +11:00
Kano
072909a12f MMQ count work check timeout failures 2012-12-17 13:21:24 +11:00
Kano
38ff2a7df9 MMQ allow partial work replies and count them 2012-12-17 13:20:10 +11:00
Kano
2653c906c1 MMQ overheat: remove clockdown (doesn't help) + ensure no lost shares 2012-12-17 07:56:07 +11:00
Kano
f3f8b4fdb4 MMQ handle over temp differently and hash longer 2012-12-12 17:01:28 +11:00
Kano
f19b03c812 mmq - abbreviate the temperature numbers 2012-12-10 10:53:11 +11:00
Kano
7993d258f8 MMQ avoid possible number overrun crashes 2012-12-02 23:03:21 +11:00
Kano
152e7e36a2 mmq usb v0.4 + api usb stats 2012-12-02 21:48:37 +11:00
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