Con Kolivas
|
ccb742399f
Use an int for usb_read/write to identify overruns.
|
12 years ago |
Con Kolivas
|
5c9f30369a
Merge branch 'master' into hashfast
|
12 years ago |
Kano
|
5bd1b560ac
usbutils - usb_nodev() allow a driver to drop a device
|
12 years ago |
Con Kolivas
|
f29f612182
Merge branch 'master' into hashfast
|
12 years ago |
Con Kolivas
|
0da551fac1
Use a linked list for all usb transfers instead of just cancellable ones.
|
12 years ago |
Con Kolivas
|
2b998936fe
Add a usb_read_ii_timeout_cancellable wrapper
|
12 years ago |
Con Kolivas
|
d2feacdfb2
Cancel cancellable usb transfers on work restart messages.
|
12 years ago |
Con Kolivas
|
c96f096577
Add wrappers for usb_read_cancellable and usb_read_timeout_cancellable
|
12 years ago |
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.
|
12 years ago |
Con Kolivas
|
b639e68870
Merge branch 'master' into hashfast
|
12 years ago |
Con Kolivas
|
81dfe60d36
Keep the libusb event handle polling thread active until there are no async usb transfers in progress.
|
12 years ago |
Con Kolivas
|
5ee279ca00
Add atmel init sequence likely to be required on hashfast for windows to work.
|
12 years ago |
Con Kolivas
|
1bafafb5d3
Enable USB buffers for hashfast on initialise and clear buffers where appropriate.
|
12 years ago |
Con Kolivas
|
f5baf9f57a
Merge branch 'master' into hashfast
|
12 years ago |
Con Kolivas
|
58dd80e459
Implement a hashfast get_header function which reads till it finds a header preamble or times out.
|
12 years ago |
Con Kolivas
|
4b9eb3707b
Implement hashfast send header function and add relevant usb op codes to arrays, beginning reset sequence on hashfast detection.
|
12 years ago |
Con Kolivas
|
9b5c534911
Merge branch 'master' into hashfast
|
12 years ago |
Chris Chua
|
b509e84376
using separate identifier for bitburner fury boards
|
12 years ago |
Con Kolivas
|
b5dfacef24
We are always dependent on libusb handling events so use the blocking libusb_handle_events in the polling thread and use a bool to know if we should continue polling.
|
12 years ago |
Con Kolivas
|
7318eceef9
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.
|
12 years ago |
Kano
|
51418f79e5
Klondike update code to current git
|
12 years ago |
Con Kolivas
|
a6a9407067
Use asynchronous transfers for all bulk transfers, allowing us to use our own timers and cancelling transfers that take too long.
|
12 years ago |
Con Kolivas
|
f49a3c7657
Merge branch 'master' into hashfast
|
12 years ago |
Con Kolivas
|
0a5599844f
Add magic init sequence required on BF1 devices to get them mining on windows.
|
12 years ago |
Con Kolivas
|
ff90e6ae83
usbinfo.devlock is only ever write locked so convert it to a mutex
|
12 years ago |
Con Kolivas
|
303a763162
Deuglify use of usb parse commands macro in usbutils.
|
12 years ago |
Con Kolivas
|
621114c559
Merge branch 'master' of github.com:ckolivas/cgminer into redfury
|
12 years ago |
Kano
|
d3a3b3a73d
usbutils allow PrefPacketSize per endpoint
|
12 years ago |
Con Kolivas
|
ce16bd2ba4
Remove magic control sequences on open/close on BF1 and just flush the read buffers.
|
12 years ago |
Con Kolivas
|
1f74b2cdc4
Perform interrupt read flush as per serial open on BF1 devices.
|
12 years ago |