Con Kolivas
|
4c979d756f
|
Do one extra guaranteed libusb event handling before testing if there are any pending async usb transfers.
|
2013-10-25 12:46:47 +11:00 |
|
Con Kolivas
|
0da551fac1
|
Use a linked list for all usb transfers instead of just cancellable ones.
|
2013-10-25 12:30:39 +11:00 |
|
Con Kolivas
|
d342bcbe81
|
Provide a mechanism for informing drivers of updated work templates for stratum and gbt mining.
|
2013-10-25 11:57:27 +11:00 |
|
Roy Badami
|
8795fbc2c6
|
Remove modified Bitburner avalon defaults - I was mistaken about maximum
stack size
|
2013-10-24 22:45:51 +01:00 |
|
Con Kolivas
|
7b5884caa5
|
Add cancellable transfers correctly to the ct_list
|
2013-10-25 08:43:55 +11:00 |
|
Con Kolivas
|
e22035f024
|
Check for presence of thr in icarus get nonce for startup nonce testing to work.
|
2013-10-25 05:10:08 +11:00 |
|
Con Kolivas
|
f8fdff4ad2
|
Use cancellable usb transfers in the icarus driver to avoid having to loop and poll when waiting for a response and to speed up work restart response time.
|
2013-10-25 04:25:32 +11:00 |
|
Con Kolivas
|
2b998936fe
|
Add a usb_read_ii_timeout_cancellable wrapper
|
2013-10-25 04:13:32 +11:00 |
|
Con Kolivas
|
9d8e3df0a8
|
Add usb transfer cancellation on shutdown and documentation regarding where cancellable transfers are suitable.
|
2013-10-25 04:07:09 +11:00 |
|
Con Kolivas
|
eb5b611483
|
Use cancellable transfers on bitfury device.
|
2013-10-24 22:26:48 +11:00 |
|
Con Kolivas
|
d2feacdfb2
|
Cancel cancellable usb transfers on work restart messages.
|
2013-10-24 22:26:13 +11:00 |
|
Con Kolivas
|
51660838da
|
Don't bother having a separate cancellable transfer struct for usb transfers, simply include the list in the usb_transfer struct.
|
2013-10-24 21:58:25 +11:00 |
|
Con Kolivas
|
c96f096577
|
Add wrappers for usb_read_cancellable and usb_read_timeout_cancellable
|
2013-10-24 21:54:35 +11:00 |
|
Con Kolivas
|
c2c6987784
|
Specifically set the cancellable state for it to not be uninitialised in the usb transfer struct.
|
2013-10-24 21:52:50 +11:00 |
|
Con Kolivas
|
b52bb5c9e2
|
Alter the usb cancellable list only under cgusb_fd_lock write lock.
|
2013-10-24 21:50:52 +11:00 |
|
Con Kolivas
|
19ec360f7c
|
Pass the cancellable option to _usb_read options to decide on whether to add usb transfers to the list of cancellable transfers.
|
2013-10-24 21:45:41 +11:00 |
|
Con Kolivas
|
2b075cccbf
|
Create a linked list of potentially cancellable usb transfers.
|
2013-10-24 21:42:04 +11:00 |
|
Con Kolivas
|
b639e68870
|
Merge branch 'master' into hashfast
|
2013-10-24 21:19:29 +11:00 |
|
Con Kolivas
|
448f8dde80
|
Don't attempt to disable curses or print a summary during an app restart to prevent deadlocks.
|
2013-10-24 21:15:36 +11:00 |
|
Con Kolivas
|
251b71ba3f
|
Merge branch 'master' of github.com:ckolivas/cgminer
|
2013-10-24 20:42:39 +11:00 |
|
Con Kolivas
|
81dfe60d36
|
Keep the libusb event handle polling thread active until there are no async usb transfers in progress.
|
2013-10-24 20:41:55 +11:00 |
|
Con Kolivas
|
824aa5cb51
|
Keep a global counter of how many async usb transfers are in place.
|
2013-10-24 20:36:53 +11:00 |
|
Con Kolivas
|
856471e392
|
Perform libusb_submit_transfer under the write variant of cgusb_fd_lock
|
2013-10-24 20:32:17 +11:00 |
|
kanoi
|
3c2647d4b5
|
Merge pull request #511 from kanoi/master
klondike - error condition handling
|
2013-10-23 14:14:11 -07:00 |
|
Kano
|
8437805f5c
|
klondike - error condition handling
|
2013-10-24 03:44:04 +11:00 |
|
Con Kolivas
|
5ea6a8eaa2
|
Merge branch 'master' into hashfast
Conflicts:
Makefile.am
|
2013-10-23 22:45:56 +11:00 |
|
Con Kolivas
|
4f7b6fe4c3
|
Avoid entering static libusb directory if --with-system-libusb is enabled.
|
2013-10-23 22:40:13 +11:00 |
|
Con Kolivas
|
e76421320e
|
Minor opencl build corrections.
|
2013-10-23 22:31:00 +11:00 |
|
Con Kolivas
|
ed16f32d8f
|
Enable dynamic linking against system libusb --with-system-libusb
|
2013-10-23 22:24:58 +11:00 |
|
Con Kolivas
|
9fa8e920c7
|
Modify Makefile to only include opencl related code when configured in.
|
2013-10-23 21:29:42 +11:00 |
|
Con Kolivas
|
05478b5937
|
Convert opencl to need to be explicitly enabled during build with --enable-opencl
|
2013-10-23 21:19:03 +11:00 |
|
Con Kolivas
|
d2719e312f
|
Implement a cglock_destroy function.
|
2013-10-23 20:41:12 +11:00 |
|
Con Kolivas
|
de4ad515e0
|
Implement a rwlock_destroy function.
|
2013-10-23 20:41:04 +11:00 |
|
Con Kolivas
|
6bd5139cfc
|
Implement a mutex_destroy function.
|
2013-10-23 20:40:52 +11:00 |
|
Con Kolivas
|
fc6472fcb3
|
Minor buildfix for other platforms.
|
2013-10-23 12:55:32 +11:00 |
|
Con Kolivas
|
669bcac36c
|
Merge branch 'master' into hashfast
|
2013-10-23 12:06:20 +11:00 |
|
Con Kolivas
|
269a145a70
|
Add usb command name to critical libusb error reporting.
|
2013-10-23 10:45:22 +11:00 |
|
Con Kolivas
|
ce61b9b060
|
Merge branch 'master' of github.com:ckolivas/cgminer
|
2013-10-23 10:19:48 +11:00 |
|
Con Kolivas
|
8dcbc86b97
|
Use windows' own higher resolution time and handlers allowing us to have higher precision absolute timeouts.
|
2013-10-23 10:19:04 +11:00 |
|
Con Kolivas
|
563cad189e
|
Fix lldiv error in windows cgminer_t calculation.
|
2013-10-23 09:13:50 +11:00 |
|
Kano
|
9932c95569
|
miner.php correct sort gen field names largest to smallest
|
2013-10-22 19:30:03 +11:00 |
|
Kano
|
d9449b2578
|
api ... the code related to device elapsed
|
2013-10-22 19:27:44 +11:00 |
|
Con Kolivas
|
939b8d0091
|
Merge branch 'master' into hashfast
|
2013-10-22 17:18:42 +11:00 |
|
Kano
|
cac7cdb25e
|
api add device elapsed since hotplug devices Elapsed is less than cgminer Elapsed
|
2013-10-22 10:28:45 +11:00 |
|
Con Kolivas
|
5ee279ca00
|
Add atmel init sequence likely to be required on hashfast for windows to work.
|
2013-10-21 13:30:17 +11:00 |
|
Con Kolivas
|
75726f6e00
|
Implement max temp and volt monitoring on statline for hashfast driver.
|
2013-10-21 13:15:52 +11:00 |
|
Con Kolivas
|
f5679aaa61
|
Check for nodev on hashfast driver and disable it if it has disappeared.
|
2013-10-21 12:50:45 +11:00 |
|
Con Kolivas
|
1eb18061f8
|
Limit the number of work items we queue at any one time in the hashfast driver and do not keep updating the job count during the scanwork() loop to prevent indefinitely changing our tail.
|
2013-10-21 12:42:54 +11:00 |
|
Con Kolivas
|
ad8e0f13ea
|
Free hashfast structures allocated on driver shutdown.
|
2013-10-21 12:25:15 +11:00 |
|
Con Kolivas
|
44cc52c3d0
|
Drop usb buffering message to debug logging level.
|
2013-10-21 12:19:11 +11:00 |
|