1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 15:27:53 +00:00
Commit Graph

5236 Commits

Author SHA1 Message Date
Xiangfu
088a340342 avalon: display the FPGA controller version on API 2013-09-22 23:29:02 +08:00
Kano
b1a3b012dd pool_active uninitialised_var rolltime 2013-09-22 23:16:21 +10:00
Con Kolivas
293622cf2a Merge branch 'master' into hashfast
Conflicts:
	usbutils.c
	usbutils.h
2013-09-22 22:54:18 +10:00
Con Kolivas
48f5ff3754 Use macro expansion to only need to define usb enums and commands in one place. 2013-09-22 22:38:45 +10:00
Con Kolivas
cccee5d545 Fix util.h build from hashfast include. 2013-09-22 20:24:59 +10:00
Con Kolivas
118f9038a0 Merge branch 'master' into hashfast 2013-09-22 20:18:18 +10:00
Kano
0e8028fc29 usbutils saving incorrect overflow buffer 2013-09-22 19:59:29 +10:00
Kano
68c6a12b26 ignore libusb.la and *.lo on linux 2013-09-22 14:23:49 +10:00
kanoi
9ccb3a8f11 Merge pull request #492 from kanoi/master
usbutils handle multiple interfaces
2013-09-21 21:12:54 -07:00
Kano
d17f0e7a1a icarus support CMR with no extensions 2013-09-22 00:13:35 +10:00
Kano
95eb948053 usbtils - interfaces dont work yet in libusb windows so disable for that only 2013-09-22 00:12:57 +10:00
kanoi
a6f894954f Merge pull request #494 from xiangfu/master
Fix the api-example.c compile under Linux
2013-09-21 06:03:39 -07:00
Con Kolivas
466d3beca0 Provide a --disable-libcurl config option to build support for stratum mining only. 2013-09-21 22:49:28 +10:00
Xiangfu
824fd8fcad Fix the api-example.c compile under Linux 2013-09-21 17:53:50 +08:00
Con Kolivas
c2ef8ca6f5 Enable usb buffering on hashfast during init. 2013-09-21 18:00:06 +10:00
Con Kolivas
489722a62e Provide basic infrastructure for sending an arbitrary frame on hashfast. 2013-09-21 17:44:48 +10:00
Con Kolivas
62f6fefb12 Create a struct array of hashfast commands and their associated usb command names. 2013-09-21 08:33:11 +10:00
Kano
1910e37121 usbutils - only release the device once - for the first intinfo 2013-09-19 21:54:15 +10:00
Kano
0f0b0f818f usbutils set_interface is no longer valid 2013-09-19 21:41:27 +10:00
Kano
166147a803 ubsutils interfaces much each have their own handle 2013-09-19 21:11:40 +10:00
Con Kolivas
45c8d60790 Add crc initialisation tables and helper functions for hashfast driver. 2013-09-19 17:34:26 +10:00
Con Kolivas
456431de29 Add hashfast to api calls. 2013-09-19 17:21:52 +10:00
Con Kolivas
d866973d52 Add templates for USB commands likely to be used by hashfast driver. 2013-09-19 17:19:51 +10:00
Con Kolivas
b224ad37eb Provide initial set up code and structure initialisation for hashfast device detection. 2013-09-19 12:34:00 +10:00
Con Kolivas
3777ed288d Add hashfast detection driver calls to cgminer startup. 2013-09-19 10:46:23 +10:00
Con Kolivas
78932aa1ed Provide basic structure for a hashfast driver. 2013-09-19 10:38:08 +10:00
Con Kolivas
ece6295874 Add basic structures to hashfast header. 2013-09-19 09:51:03 +10:00
Con Kolivas
f317e829ab Create basic skeleton and copyright notices for hashfast driver. 2013-09-19 09:41:25 +10:00
Con Kolivas
cdaaff191e Provide stubs for compiling hashfast code into makefiles. 2013-09-19 09:35:35 +10:00
Con Kolivas
2f72efb0a0 Add configuration option for hashfast devices, tidying up configure.ac slightly. 2013-09-19 09:20:56 +10:00
Kano
00c2c3369a usbutils kernel_detach should use the interface number 2013-09-17 21:42:11 +10:00
Kano
24858de6de usbutils - allow the driver to change which_intinfo 2013-09-17 19:19:43 +10:00
Con Kolivas
48681dd4bb Reset quotas on load balance for all pools at the same time to avoid running out during selection and unintentionally dropping to fallback. 2013-09-16 12:40:11 +10:00
Con Kolivas
972d04d2a8 Break out of select pool from a common point for appropriate debug messages and to avoid further tests. 2013-09-16 12:26:01 +10:00
Kano
cc5c998164 usbutils correct/reverse CMR product numbers 2013-09-16 12:23:49 +10:00
Kano
67b9ee4448 usbutils specifically track handles and interfaces 2013-09-14 18:15:21 +10:00
Kano
a9faec4a4b change drivers to use usb_interface() - required for multi interface change 2013-09-14 18:15:08 +10:00
Kano
08483717aa usbutils - allow a device to use multiple interfaces (and better var names) 2013-09-14 18:14:48 +10:00
Con Kolivas
566a80f05b Cast -1 to (char) to cope with different default char types on ARM. 2013-09-14 10:13:06 +10:00
Con Kolivas
891c279e3b Bump version number to 3.4.3, updating news. 2013-09-13 21:26:07 +10:00
Con Kolivas
203028b068 Put corefoundation and iokit separate in ldflags for darwin. 2013-09-13 17:12:01 +10:00
Con Kolivas
1672238bee Add rules for libusb Makefile.am building on osx 2013-09-13 17:00:04 +10:00
Con Kolivas
fb2cf630f1 Add flags for building libusb statically on osx. 2013-09-13 16:58:52 +10:00
Con Kolivas
27cd9a0a7e Minor typo. 2013-09-13 14:27:28 +10:00
Con Kolivas
a76b09e4fc Find the greatest common denominator in quotas and use the smallest number of consecutive work items per pool in quota load balance mode to smooth hashrate across pools with large quotas. Give excess quota to priority pool 0 instead of pool 0. 2013-09-13 13:51:15 +10:00
Con Kolivas
8ac4fa202d Merge branch 'master' into quota 2013-09-13 13:05:47 +10:00
Con Kolivas
d4ac1915fa Avoid dynamically adding stack memory for nonce2 in the stratum send thread and check the pool's nonce2_len will not cause an overflow. 2013-09-13 09:34:45 +10:00
Con Kolivas
f9fe6ac3cf Merge branch 'master' into quota 2013-09-13 08:50:23 +10:00
ckolivas
f0328f8cd0 Add subdir-objects to automake options. 2013-09-11 17:12:32 +10:00
Con Kolivas
3b302cbab9 Merge branch 'master' into quota 2013-09-10 07:06:32 +10:00