1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-24 05:24:23 +00:00

5129 Commits

Author SHA1 Message Date
Con Kolivas
b30ae4a216 Use fractional hashrate return values in bitfury_scanhash to minimise the number of times we return 0 based on hashrate so far to further damp out displayed hashrate. 2013-10-09 23:06:46 +11:00
Con Kolivas
32bc746178 Check for presence of driver name in DRIVER_COUNT_FOUND to prevent strcmp on a null pointer when a driver is not built in. 2013-10-09 22:17:56 +11:00
kanoi
a715d27a98 Merge pull request #501 from kanoi/cmr
Cairnsmore1 support clock/identify commands via the API
2013-10-08 20:26:57 -07:00
Kano
d97c3a4be1 API-README update pgaset, pgaidentify and ascset docs 2013-10-09 14:17:47 +11:00
Kano
39ac69c14c CMR allow sending flash and clock commands 2013-10-09 14:09:47 +11:00
Con Kolivas
2834eb8d6d Kill off threads that have failed using hash_sole_work instead of just disabling them. 2013-10-08 23:35:22 +11:00
Con Kolivas
bdbe9dd5fe Make the bf1 getinfo size a macro 2013-10-08 23:26:23 +11:00
Con Kolivas
e05bfddc74 Failing to add_cgpu in bitfury should be a terminal failure. 2013-10-08 23:18:57 +11:00
Con Kolivas
078f7f4739 Check return values when attempting to open a BF1 device and set the msg size as a macro. 2013-10-08 23:15:15 +11:00
Con Kolivas
a5ed1771a4 Revert "Further smooth out avalon hashrate by limiting the maximum number of nonces counted each cycle to 1 per miner, saving them for later cycles."
This reverts commit 7be59992c121a61e56402cec21508e39401fad6c.

Of dubious utility since a full nonce range is not scanned before loading more work.
2013-10-08 22:23:51 +11:00
Con Kolivas
7be59992c1 Further smooth out avalon hashrate by limiting the maximum number of nonces counted each cycle to 1 per miner, saving them for later cycles. 2013-10-08 22:17:00 +11:00
Con Kolivas
dc9c3783ec Display errors on failed usb read and write and consider sequential IO errors a permanent failure. 2013-10-08 22:05:01 +11:00
Con Kolivas
a22f5bfddd Use libusb's own error name function instead of hand coding the error names. 2013-10-08 21:40:04 +11:00
Con Kolivas
936fca4de9 Limit ms_tdiff to 1 hour as a sanity check. 2013-10-08 21:39:21 +11:00
Con Kolivas
f8e28f251d Try switching pools if for some reason we end up with only idle pools and have ended up current_pool set to an idle one. 2013-10-08 20:42:36 +11:00
Con Kolivas
3b527f14d0 Check a pool is stable for >5 mins before switching back to it. 2013-10-08 20:41:13 +11:00
Con Kolivas
2d1ba75e11 Prevent overflows in us_tdiff and ms_tdiff. 2013-10-07 15:37:34 +11:00
Con Kolivas
03e80514e9 Change second initialise message on bitfury verbose mode. 2013-10-07 12:00:49 +11:00
Con Kolivas
dbef95f77d Submitting an ntime offset nonce needs to be done on a copy of the work instead of the original so abstract out shared components as much as possible, minimising strdups in copy_work and make submit_work_async work take copied work, cleaning up code in the process. 2013-10-05 09:31:36 +10:00
Con Kolivas
4c79252dc8 Provide a way for drivers to submit work that it has internally rolled the ntime value by returning the amount it has ntime rolled to be added. 2013-10-04 21:39:42 +10:00
ckolivas
b5c49aefd7 Typo in configure.ac 2013-10-04 14:26:47 +10:00
ckolivas
052e434846 Remove unmaintained broken ztex driver. 2013-10-04 12:00:41 +10:00
Kano
5c5178033e Icarus CMR2 detect FPGA setup 2013-10-04 02:01:49 +10:00
Kano
d303352004 Icarus - use a data structure for I/O rather than magic numbers 2013-10-04 00:10:10 +10:00
Kano
14d2349bfd delete old tracked ccan/opt/*.o files 2013-10-04 00:05:39 +10:00
kanoi
2843670aff Merge pull request #500 from kanoi/klondike
Klondike
2013-10-03 06:37:19 -07:00
Kano
2270a932ea klondike correct cvtKlnToC() temperature calculation 2013-10-03 23:30:56 +10:00
Kano
f300171c5b klondike - correct 1st reply debug based on define 2013-10-03 23:30:49 +10:00
Kano
3b9e39fa99 klondike - debug dump structured replies 2013-10-03 23:30:39 +10:00
Kano
5154e8472d klondike - avoid division by zero if maxcount is unexpectedly zero 2013-10-03 23:30:30 +10:00
Kano
2dc54366f9 klondike store and report errorcount and noise 2013-10-03 23:30:19 +10:00
Kano
0fd939e714 klondike - fix chipstats api stats buffer overrun with 16 chips 2013-10-03 23:29:26 +10:00
Kano
9b1ac1796f klondike add new nonecount only once 2013-10-03 23:29:02 +10:00
Kano
d7ce4493d6 klondike - report mh/s based on nonces found + put old estimate into API stats 2013-10-03 23:28:09 +10:00
Kano
7cbe0dbf39 klondike use a memcpy 2013-10-03 23:23:49 +10:00
Kano
9b6ae5bc42 klondike fix bracket tabs indenting 2013-10-03 23:21:38 +10:00
Kano
521ee0a97f api.c missing Klondike from ASIC list 2013-10-03 23:21:03 +10:00
Kano
dc85abd9cd Klondike update code to current git 2013-10-03 23:19:18 +10:00
Kano
a1d84775ab Add Klondike to README 2013-10-03 22:37:22 +10:00
Kano
f61140e004 Add Klondike to ASIC-README 2013-10-03 22:32:52 +10:00
Kano
778c6da639 Add 2nd CMR to 01-cgminer.rules 2013-10-03 22:29:26 +10:00
Kano
45c8b58da2 Add Klondike to 01-cgminer.rules 2013-10-03 22:27:06 +10:00
Kano
86045d81a4 Klondike to main directory 2013-10-03 22:22:02 +10:00
Kano
9621f013ee Klondike consistent code spacing 2013-10-03 22:21:39 +10:00
Kano
4d2fa5bf17 Klondike update driver code to current git 2013-10-03 22:21:26 +10:00
Chris Savery
e4638aa986 update firmware for 16 chips, add dist files 2013-10-03 22:20:20 +10:00
bkkcoins
eeaaabbbe6 beta final 0.3.0 release 2013-10-03 22:20:09 +10:00
bkkcoins
3d6cd8e3f2 updated firmware, IOC method 2013-10-03 22:19:56 +10:00
bkkcoins
63d8dbd3b6 prevent nonces when not state W 2013-10-03 22:19:37 +10:00
bkkcoins
fe8bb058a4 added driver config option support 2013-10-03 22:19:26 +10:00