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

5348 Commits

Author SHA1 Message Date
Con Kolivas
2806f49c01 Revert "Check for the async variants of the libusb errors and retry up to retry max when trying to clear a pipe error/stall."
This reverts commit c7d5256b36.
2013-10-08 21:00:51 +11:00
Con Kolivas
d34279b226 Remove unused variables. 2013-10-08 20:48:26 +11:00
Con Kolivas
f80c900336 Merge branch 'master' into async
Conflicts:
	api.c
	cgminer.c
	miner.h
	usbutils.c
	util.c
2013-10-08 20:46:36 +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
ef8efd6c48 Minimise the time between dropping the read devlock and grabbing the write devlock to avoid tons of logging spam in the interim. 2013-10-08 00:01:26 +11:00
Con Kolivas
97b5dd08b2 Limit ms_tdiff to 1 hour as a sanity check. 2013-10-07 23:34:48 +11:00
Con Kolivas
6c757c6c19 Check for async transfer variants of error messages. 2013-10-07 23:34:36 +11:00
Con Kolivas
85e0b3a50f Check for the async variants of the libusb errors and retry up to retry max when trying to clear a pipe error/stall. 2013-10-07 23:34:12 +11:00
Con Kolivas
a79768b74d Use libusb's own error name function instead of hand coding the error names. 2013-10-07 23:34:12 +11:00
Con Kolivas
74775e4e72 Check for libusb transfer stall error to be consistent with async IO errors returned for a halt condition. 2013-10-07 23:34:11 +11:00
Con Kolivas
38ae7093d2 Check for continuous IO errors on USB and consider the device inactive if more than retry max. 2013-10-07 23:34:11 +11:00
Con Kolivas
7318eceef9 Make the devlock a cglock in usbutils and only grab the write lock for fundamental changes allowing us to send and receive transfers concurrently without lock contention. 2013-10-07 23:34:01 +11:00
Con Kolivas
d5e9e08477 Prevent overflows in us_tdiff and ms_tdiff. 2013-10-07 23:33:14 +11:00
Con Kolivas
8037eb15ad Change second initialise message on bitfury verbose mode. 2013-10-07 23:33:13 +11:00
Con Kolivas
8c0ea19e13 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-07 23:33:13 +11:00
Con Kolivas
b6a97de687 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-07 23:33:13 +11:00
ckolivas
fb79b37fe7 Typo in configure.ac 2013-10-07 23:33:13 +11:00
ckolivas
6cd7f0f1be Remove unmaintained broken ztex driver. 2013-10-07 23:33:13 +11:00
Kano
680a1aea90 Icarus - use a data structure for I/O rather than magic numbers 2013-10-07 23:33:12 +11:00
Kano
2b6d1a3ffe delete old tracked ccan/opt/*.o files 2013-10-07 23:33:12 +11:00
Kano
9eb7810575 klondike correct cvtKlnToC() temperature calculation 2013-10-07 23:33:12 +11:00
Kano
d5b3f5592b klondike - correct 1st reply debug based on define 2013-10-07 23:33:12 +11:00
Kano
0d9f3389a1 klondike - debug dump structured replies 2013-10-07 23:33:12 +11:00
Kano
11a36418b2 klondike - avoid division by zero if maxcount is unexpectedly zero 2013-10-07 23:33:12 +11:00
Kano
b5ea2bf94a klondike store and report errorcount and noise 2013-10-07 23:33:12 +11:00
Kano
2e606d86fc klondike - fix chipstats api stats buffer overrun with 16 chips 2013-10-07 23:33:11 +11:00
Kano
d7db1e8a2b klondike add new nonecount only once 2013-10-07 23:33:11 +11:00
Kano
577f1a2043 klondike - report mh/s based on nonces found + put old estimate into API stats 2013-10-07 23:33:11 +11:00
Kano
ef54de1dd3 klondike use a memcpy 2013-10-07 23:33:11 +11:00
Kano
e8d49bc0bb klondike fix bracket tabs indenting 2013-10-07 23:33:11 +11:00
Kano
e11b6d7d55 api.c missing Klondike from ASIC list 2013-10-07 23:33:11 +11:00
Kano
51418f79e5 Klondike update code to current git 2013-10-07 23:33:11 +11:00
Kano
26ee9abffb Add Klondike to README 2013-10-07 23:33:10 +11:00
Kano
b79f4446b1 Add Klondike to ASIC-README 2013-10-07 23:33:10 +11:00
Kano
56b461c81c Add 2nd CMR to 01-cgminer.rules 2013-10-07 23:33:10 +11:00
Kano
2a9527f192 Add Klondike to 01-cgminer.rules 2013-10-07 23:33:10 +11:00
Kano
7b6a97feb3 Klondike to main directory 2013-10-07 23:33:10 +11:00
Kano
2f00a909c0 Klondike consistent code spacing 2013-10-07 23:33:10 +11:00
Kano
5e3404bfa7 Klondike update driver code to current git 2013-10-07 23:33:10 +11:00
Chris Savery
087159a334 update firmware for 16 chips, add dist files 2013-10-07 23:33:09 +11:00
bkkcoins
1dc8ea76c6 beta final 0.3.0 release 2013-10-07 23:33:09 +11:00
bkkcoins
1a755a58c1 updated firmware, IOC method 2013-10-07 23:33:09 +11:00
bkkcoins
2fb4b6294f prevent nonces when not state W 2013-10-07 23:33:09 +11:00
bkkcoins
9bc1c8bc14 added driver config option support 2013-10-07 23:33:09 +11:00
bkkcoins
5ae1502b68 fixes for 300 MHz, fix K1 parts list 2013-10-07 23:33:09 +11:00
bkkcoins
72a5872a30 update driver, docs 2013-10-07 23:33:09 +11:00
bkkcoins
cc1e9fb778 update firmware & utils 2013-10-07 23:33:08 +11:00
bkkcoins
6176c52fce updated cgminer driver for 3.3.1 2013-10-07 23:33:08 +11:00
root
8ddd6b2a7d update firmware and driver, create new cgminer fork 2013-10-07 23:33:08 +11:00