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

5138 Commits

Author SHA1 Message Date
Con Kolivas
5eb1934110 Limit ms_tdiff to 1 hour as a sanity check. 2013-10-07 20:38:24 +11:00
Con Kolivas
a47e4a4866 Check for async transfer variants of error messages. 2013-10-07 20:35:42 +11:00
Con Kolivas
08406274ea 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-07 20:34:13 +11:00
Con Kolivas
50d1d367fb Check for either async or sync libusb error message for timeout. 2013-10-07 20:07:34 +11:00
Con Kolivas
c7d5256b36 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 20:03:53 +11:00
Con Kolivas
aa75d84142 Use libusb's own error name function instead of hand coding the error names. 2013-10-07 19:50:38 +11:00
Con Kolivas
f931392781 Check for libusb transfer stall error to be consistent with async IO errors returned for a halt condition. 2013-10-07 18:40:09 +11:00
Con Kolivas
0b56becc04 Check for continuous IO errors on USB and consider the device inactive if more than retry max. 2013-10-07 17:56:57 +11:00
Con Kolivas
023ca6a11d Remove devlock lock contention statistics since transfers are all done under read lock now. 2013-10-07 17:17:20 +11:00
Con Kolivas
59ff31d821 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 17:11:33 +11:00
Con Kolivas
7da454ce04 Merge branch 'master' into libusbx 2013-10-07 15:38:03 +11:00
Con Kolivas
2d1ba75e11 Prevent overflows in us_tdiff and ms_tdiff. 2013-10-07 15:37:34 +11:00
Con Kolivas
3b266594cb Merge branch 'master' into libusbx
Conflicts:
	api.c
	miner.h
	usbutils.c
2013-10-07 14:57:08 +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
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
bkkcoins
6b705d422f fixes for 300 MHz, fix K1 parts list 2013-10-03 22:18:50 +10:00
bkkcoins
9c522a086f update driver, docs 2013-10-03 22:18:24 +10:00
bkkcoins
95d102eb5b update firmware & utils 2013-10-03 21:23:34 +10:00
bkkcoins
3cbb281406 updated cgminer driver for 3.3.1 2013-10-03 21:23:18 +10:00
root
158f3273fe update firmware and driver, create new cgminer fork 2013-10-03 21:23:03 +10:00