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

5294 Commits

Author SHA1 Message Date
Con Kolivas
f97e1ad25f Check for work restart, breaking out early after usb reads in BF1. 2013-09-25 23:54:37 +10:00
Con Kolivas
ff4c4779f7 Do not lose the first sets of results from BF1. 2013-09-25 23:33:10 +10:00
Con Kolivas
72c7798043 There is no point checking for results from the next round of work on BF1. 2013-09-25 23:30:29 +10:00
Con Kolivas
8c0ab5f310 Last result returned by BF1 is an end of results marker so ignore it. 2013-09-25 23:18:17 +10:00
Con Kolivas
9040cac924 restart_wait should return 0 if thr_restart is true. 2013-09-25 22:47:19 +10:00
Con Kolivas
7a9669ec3c Remove unused code by bitfury driver since current driver uses serialised scanhash. 2013-09-25 22:43:39 +10:00
Con Kolivas
5a8ac9fdaf Meter out return of estimated hashes in BF1 to smooth out visible hashrate. 2013-09-25 22:22:05 +10:00
Con Kolivas
4507a3803b Optimise inner scanhash loop for bf1. 2013-09-25 22:12:34 +10:00
Con Kolivas
c65fd77873 Add yet another backup work for triple buffering of work in bf1 to account for extra late results returned and don't check nonce offsets which appear to never return. 2013-09-25 20:46:42 +10:00
Con Kolivas
55c6e55c84 Name the work request and result usb commands for BF1 2013-09-25 16:31:37 +10:00
Con Kolivas
edcea78a61 Define a mandatory upper limit to waiting for reset and data on BF1 based on full nonce duration. 2013-09-25 16:28:34 +10:00
Con Kolivas
d6949f3a94 Decrease usb buffering to verbose logging. 2013-09-25 15:31:34 +10:00
Con Kolivas
759e82bb98 Add in first draft for a serialised work model sending/receiving data for BF1 devices. 2013-09-25 15:30:54 +10:00
Con Kolivas
f6e475d4fb Add complete close sequence to bf1 as it happens on serial. 2013-09-25 00:23:50 +10:00
Con Kolivas
4fb802fc58 Provide a bitfury identify function for bf1. 2013-09-24 23:30:01 +10:00
Con Kolivas
977a7b753f Reliably extract BF1 information at startup and reset the device. 2013-09-24 22:58:10 +10:00
Con Kolivas
54ac35553f Add commands for getting BF1 bitfury info 2013-09-24 22:28:56 +10:00
Con Kolivas
9a3684b809 Add magic BF1 bitfury open and close control sequences. 2013-09-24 22:16:31 +10:00
Con Kolivas
2ab023f300 Add BF1 detection code to bitfury driver. 2013-09-24 21:55:47 +10:00
Con Kolivas
68a7e21022 Create basic placeholders for bitfury driver code. 2013-09-24 20:59:10 +10:00
Con Kolivas
99c838965e Add bf1 device information to usbutils to enable device detection. 2013-09-24 20:39:59 +10:00
Con Kolivas
8862cf9f07 Add basic defines for building for bitfury devices. 2013-09-24 20:18:11 +10:00
Con Kolivas
a8f0418c2c Add redfury device to udev rules. 2013-09-23 09:33:41 +10:00
kanoi
d5f61e9a5d Merge pull request #496 from xiangfu/master
avalon: display the FPGA controller version on API
2013-09-22 08:30:59 -07:00
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
48f5ff3754 Use macro expansion to only need to define usb enums and commands in one place. 2013-09-22 22:38:45 +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
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
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