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

105 Commits

Author SHA1 Message Date
Kano
39ac69c14c CMR allow sending flash and clock commands 2013-10-09 14:09:47 +11: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
c7fb4aad78 Icarus remove unneeded opt_debug tests due to applog being a macro 2013-09-29 17:21:32 +10:00
Kano
ef62b28197 Icarus - CMR shouldn't wait the full timeout due to handle sharing 2013-09-29 17:14:10 +10:00
ckolivas
6d7471237d Use macro expansion to iterate over all device drivers without needing to explicitly code in support in all places. Pass a hotplug bool to the detect() function to prevent opencl trying to hogplug GPUs. 2013-09-28 15:11:06 +10:00
ckolivas
741b74309e Forward declare all device drivers in miner.h avoiding the need to export them everywhere else. 2013-09-28 14:00:18 +10:00
ckolivas
8875197466 Create a macro list of drivers to enable easier addition of further drivers. 2013-09-28 10:25:48 +10:00
Kano
f9476743c2 icarus ensure all cmr interfaces are initialised properly 2013-09-27 18:48:41 +10:00
Kano
36d8653406 usbutils - interfaces must all be on one handle - ep implies the interface 2013-09-26 20:58:29 +10:00
Kano
d17f0e7a1a icarus support CMR with no extensions 2013-09-22 00:13:35 +10:00
Kano
a6e44cb360 ICA optional limit timing with short=N or long=N 2013-08-31 15:40:23 +10:00
ckolivas
dbac7f53a6 Revert "Sleep after sending icarus work to emulate working at 115200 baud."
This reverts commit 4aaeb510c8.

There is a baud emulation function now.
2013-07-21 15:53:36 +10:00
Kano
ad1572f77f size check get_datestamp/get_timestamp and remove unused cgpu->init 2013-07-06 20:17:17 +10:00
Kano
9ecef180d1 usbutils/icarus include more locking to usbdev access 2013-06-26 12:53:05 +10:00
Kano
5676758594 Icarus turn on cps delays by default 2013-06-26 11:50:56 +10:00
Kano
527c6ee255 usbutils optional cps IO control - but not enabled 2013-06-25 21:35:21 +10:00
Con Kolivas
4e155fd624 Hard code the preferred packet size for AMU, BLT and ICA. 2013-06-22 22:33:10 +10:00
Kano
cbf3a79d0d Icarus enable the read buffer for the detect nonce 2013-06-22 20:11:45 +10:00
Con Kolivas
4aaeb510c8 Sleep after sending icarus work to emulate working at 115200 baud. 2013-06-21 18:22:08 +10:00
Kano
7eba963477 remove varargs from logging/quit/in general as much as possible 2013-06-15 22:03:56 +10:00
Kano
65e21f18cb Icarus driver elaspsed timeout shouldn't be just USB I/O 2013-06-12 22:05:35 +10:00
Kano
b8b137aeef USB make device_path handled by usbutils 2013-06-10 15:59:02 +10:00
Kano
749fa78d8a tidy up free in device detect functions 2013-06-10 15:39:44 +10:00
Kano
9287ee90f6 USB control creation and free of cgpu 2013-06-10 15:22:37 +10:00
Kano
8478ee4436 AMU usbstatus correct name from enable UART 2013-06-07 07:02:55 +10:00
Kano
a7425c6c1b Icarus AMU enable the UART 2013-06-07 01:52:51 +10:00
Kano
161165dcc0 Icarus use buffered USB reading 2013-06-05 12:04:57 +10:00
Kano
6aed9a5122 bflsc & icarus use usb_ftdi_set_latency 2013-06-05 01:49:48 +10:00
Kano
1c64f3b621 usb set FTDI latency higher to minimise status bytes 2013-06-04 13:17:57 +10:00
Kano
77d040cb67 Icarus add delays during intialisation 2013-05-31 01:34:23 +10:00
Con Kolivas
2577992436 Fix mingw build warnings in icarus driver. 2013-05-30 17:55:24 +10:00
Kano
05cbbd99bb CMR handle baud options 2013-05-28 23:56:30 +10:00
Kano
df8566a78c usb/ica add more (incomplete) CMR settings 2013-05-28 22:44:03 +10:00
Kano
64b6b7cbef Icarus report data direction with comms errors 2013-05-27 21:39:10 +10:00
Kano
6e0f93474d icarus do the full detect test twice if required 2013-05-23 00:39:55 +10:00
Kano
511bbb050c CMR usb config guess 2013-05-22 23:49:08 +10:00
Kano
87d994b6ea usb add transfer_read and commented out in icarus 2013-05-22 23:22:00 +10:00
Kano
0c3f00c567 icarus ICA initialisation 2013-05-20 21:58:04 +10:00
Kano
685d0ef14d icarus report err on read failure 2013-05-20 13:41:46 +10:00
Kano
350e7f893f icarus correct device_id and use device_data for icarus_info 2013-05-20 02:59:30 +10:00
Kano
56a96b4138 icarus AMU config transfers 2013-05-20 00:48:15 +10:00
Kano
ddf008f058 icarus set default options/timing based on device 2013-05-19 22:09:49 +10:00
Kano
a4697bed57 icarus report usb write error information 2013-05-19 21:11:45 +10:00
Con Kolivas
d06c8f6546 Add name to icarus copyright notice. 2013-05-19 19:36:08 +10:00
Kano
e43f265a60 usbutils name latency correctly 2013-05-19 19:09:13 +10:00
Con Kolivas
1c5c8df6ff Check for restart before buffering more reads in Icarus. 2013-05-19 18:36:02 +10:00
Con Kolivas
4ba6cba86a Icarus should timeout if it's greater than the timeout duration even if it's receiving data. 2013-05-19 18:34:35 +10:00
Con Kolivas
f4843877d9 We should check for amount buffered in icarus get_nonce against amount already received. 2013-05-19 18:28:04 +10:00
Con Kolivas
41e6f48fe5 Fix first read timeout on icarus get nonce. 2013-05-19 14:02:25 +10:00