thodg/cgminer/usbutils.h

Branch :


Log

Author Commit Date CI Message
ad6afa39 2014-01-08 22:18:02 Use the internal knowledge of the usb epinfo to determine whether we should be doing an interrupt instead of a bulk transfer, and do not send a ZLP if so, and limit read transfer to expected size automatically.
c644b749 2014-01-05 20:13:02 Provide a way for usb reads to just read the size asked for with a limit bool.
6f9b5767 2014-01-04 09:35:10 Implement an mcp2210 spi cancel function.
d439fc75 2014-01-03 15:17:26 Create a generic gpio pin struct and add helpers for mcp get pin val and dirs.
5015e258 2014-01-03 12:00:23 Add a set of usb commands to the usbutils defines for mcp2210 comms, and use the same command name for send and receive.
b849a1b9 2014-01-02 22:25:56 Add basic device detection and updated udev rules for nanofury devices.
a27c4717 2013-12-23 16:28:16 usbutils remove old code added back
97a13df4 2013-12-23 06:58:26 Merge remote-tracking branch 'drill/master' into drill
7c7a324f 2013-12-17 21:53:10 Add support for newer protocol bi*fury commands job, clock and hwerror, setting clock to default 54 value, turning parsing into a compact macro.
73343f38 2013-12-09 11:39:03 Merge remote-tracking branch 'upstream' into merge_upstream Conflicts: usbutils.c
7ae878aa 2013-12-08 12:44:45 Initialise usb locks within usbutils.c instead of exporting them.
d7c5667a 2013-12-08 12:44:45 Initialise usb locks within usbutils.c instead of exporting them.
f4a96194 2013-12-04 20:42:25 Provide an hfa-dfu-boot option for resetting hashfast devices for reprogramming.
394ccaf1 2013-12-04 15:29:37 Add support for temperature display (pending firmware support)
0da9c87e 2013-12-01 15:18:16 Deprecate the usb usecps function and just split up transfers equal to the maxpacketsize on usb1.1 devices.
3bc36eb0 2013-12-01 15:18:16 Deprecate the usb usecps function and just split up transfers equal to the maxpacketsize on usb1.1 devices.
e933a560 2013-11-30 22:03:26 Merge remote-tracking branch 'upstream' into merge_383 Conflicts: usbutils.c usbutils.h
adea58a7 2013-11-30 10:43:39 Add hfa op usb notice macros.
0e60ca30 2013-11-22 23:21:44 Make usb_detect return the cgpu associated with it to check if it succeeds to decide on whether to increment the device count or not.
9ce30b7b 2013-11-22 11:14:21 Zero the read buffer in _usb_read to avoid stale data and only use stack memory instead of using the bulkbuf since it is only used in _usb_read.
b8d8ebfa 2013-11-22 09:54:58 Simplify the end of message detection in _usb_read and allow it to return without doing another read if the message is already in the buffer.
c59d260b 2013-11-16 08:19:57 Add extra bxf commands to usbutils
5e147c69 2013-11-14 12:49:59 Use the bxf read thread to set the device target and send its first work item.
418664ad 2013-11-14 12:39:15 Implement a bxf send work function and set update and restart functions to sending new work since that's the equivalent for that device.
c1c834a6 2013-11-14 11:58:21 Create and destroy a basic bxf read thread.
67c3826b 2013-11-14 10:37:23 Uniquely identify the BF1 and BXF bitfury devices.
278f157e 2013-11-10 09:12:39 Merge remote-tracking branch 'upstream/master' into new_protocol
2e11a504 2013-11-05 13:55:56 Remove now unused entries from struct cg_usb_device
f066ca68 2013-11-05 10:19:11 Merge branch 'master' of github.com:ckolivas/cgminer into new_protocol Conflicts: configure.ac miner.h usbutils.c usbutils.h
8fb7a0d1 2013-11-04 08:45:09 Always use a usb read buffer instead of having to explicitly enable it.
fc80e2fe 2013-11-03 20:31:04 Deprecate preferred packet size functions in usbutils since they're unhelpful.
ccb74239 2013-11-03 09:23:45 Use an int for usb_read/write to identify overruns.
5c9f3036 2013-10-29 22:25:05 Merge branch 'master' into hashfast
5bd1b560 2013-10-28 07:41:15 usbutils - usb_nodev() allow a driver to drop a device
f5c69237 2013-10-25 16:19:48 Merge branch 'master' of github.com:ckolivas/cgminer into new_protocol Conflicts: usbutils.c
13fd8e30 2013-10-25 14:52:44 Add configuration command
f29f6121 2013-10-25 14:35:56 Merge branch 'master' into hashfast
0da551fa 2013-10-25 12:30:39 Use a linked list for all usb transfers instead of just cancellable ones.
bbf8a00c 2013-10-25 10:50:03 Hashing with new protocol
2b998936 2013-10-25 04:13:32 Add a usb_read_ii_timeout_cancellable wrapper
d2feacdf 2013-10-24 22:26:13 Cancel cancellable usb transfers on work restart messages.
c96f0965 2013-10-24 21:54:35 Add wrappers for usb_read_cancellable and usb_read_timeout_cancellable
19ec360f 2013-10-24 21:45:41 Pass the cancellable option to _usb_read options to decide on whether to add usb transfers to the list of cancellable transfers.
b639e688 2013-10-24 21:19:29 Merge branch 'master' into hashfast
81dfe60d 2013-10-24 20:41:55 Keep the libusb event handle polling thread active until there are no async usb transfers in progress.
5ee279ca 2013-10-21 13:30:17 Add atmel init sequence likely to be required on hashfast for windows to work.
1bafafb5 2013-10-21 11:05:38 Enable USB buffers for hashfast on initialise and clear buffers where appropriate.
f5baf9f5 2013-10-18 19:12:13 Merge branch 'master' into hashfast Conflicts: usbutils.h
2bbe492f 2013-10-15 08:45:13 Merge with master
58dd80e4 2013-10-13 21:39:59 Implement a hashfast get_header function which reads till it finds a header preamble or times out.
4b9eb370 2013-10-13 20:28:57 Implement hashfast send header function and add relevant usb op codes to arrays, beginning reset sequence on hashfast detection.
9b5c5349 2013-10-13 16:41:53 Merge branch 'master' into hashfast Conflicts: api.c configure.ac miner.h usbutils.c usbutils.h
b509e843 2013-10-03 20:11:37 using separate identifier for bitburner fury boards
b5dfacef 2013-10-11 10:15:06 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.
7318ecee 2013-10-07 23:34:01 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.
51418f79 2013-10-03 23:19:18 Klondike update code to current git
a6a94070 2013-10-01 14:40:30 Use asynchronous transfers for all bulk transfers, allowing us to use our own timers and cancelling transfers that take too long.
59ff31d8 2013-10-07 17:11:33 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.
3b266594 2013-10-07 14:57:08 Merge branch 'master' into libusbx Conflicts: api.c miner.h usbutils.c
dc85abd9 2013-10-03 23:19:18 Klondike update code to current git
69c01a14 2013-10-01 14:40:30 Use asynchronous transfers for all bulk transfers, allowing us to use our own timers and cancelling transfers that take too long.
f49a3c76 2013-09-30 08:43:29 Merge branch 'master' into hashfast Conflicts: Makefile.am api.c cgminer.c configure.ac miner.h usbutils.c usbutils.h
0a559984 2013-09-29 23:44:45 Add magic init sequence required on BF1 devices to get them mining on windows.
14887ba8 2013-09-29 17:44:41 usbinfo.devlock is only ever write locked so convert it to a mutex
ff90e6ae 2013-09-29 17:44:41 usbinfo.devlock is only ever write locked so convert it to a mutex
303a7631 2013-09-29 13:08:15 Deuglify use of usb parse commands macro in usbutils.
621114c5 2013-09-27 13:08:36 Merge branch 'master' of github.com:ckolivas/cgminer into redfury
d3a3b3a7 2013-09-27 13:07:04 usbutils allow PrefPacketSize per endpoint
ce16bd2b 2013-09-27 12:38:02 Remove magic control sequences on open/close on BF1 and just flush the read buffers.
1f74b2cd 2013-09-27 10:50:33 Perform interrupt read flush as per serial open on BF1 devices.
1a020281 2013-09-27 09:41:55 Add more read_ii variants to usbutils.
4f6c7ee0 2013-09-27 09:39:26 Name remainder of BFU usb commands used.
a39a9c27 2013-09-27 08:32:54 Merge branch 'master' into redfury
b932fc0a 2013-09-26 21:04:28 usbutils - which_intinfo not requried
36d86534 2013-09-26 20:58:29 usbutils - interfaces must all be on one handle - ep implies the interface
435065c8 2013-09-26 07:24:09 Rename BF1 devices BF1
55c6e55c 2013-09-25 16:31:37 Name the work request and result usb commands for BF1
54ac3555 2013-09-24 22:28:56 Add commands for getting BF1 bitfury info
9a3684b8 2013-09-24 22:16:31 Add magic BF1 bitfury open and close control sequences.
99c83896 2013-09-24 20:39:59 Add bf1 device information to usbutils to enable device detection.
293622cf 2013-09-22 22:54:18 Merge branch 'master' into hashfast Conflicts: usbutils.c usbutils.h
48f5ff37 2013-09-22 22:38:45 Use macro expansion to only need to define usb enums and commands in one place.
118f9038 2013-09-22 20:18:18 Merge branch 'master' into hashfast
62f6fefb 2013-09-21 08:33:11 Create a struct array of hashfast commands and their associated usb command names.
0f0b0f81 2013-09-19 21:41:27 usbutils set_interface is no longer valid
166147a8 2013-09-19 21:11:40 ubsutils interfaces much each have their own handle
d866973d 2013-09-19 17:19:51 Add templates for USB commands likely to be used by hashfast driver.
78932aa1 2013-09-19 10:38:08 Provide basic structure for a hashfast driver.
00c2c336 2013-09-17 21:42:11 usbutils kernel_detach should use the interface number
24858de6 2013-09-17 19:19:43 usbutils - allow the driver to change which_intinfo
67b9ee44 2013-09-14 16:53:09 usbutils specifically track handles and interfaces
08483717 2013-09-14 01:18:14 usbutils - allow a device to use multiple interfaces (and better var names)
deb7be72 2013-08-20 21:07:38 Use the reentrant cgsleep functions for usecps in usbutils.
96c0c317 2013-08-19 20:34:37 BTB get version from Firmware
b0f4d55b 2013-07-29 21:39:29 changes to Avalon driver for BitBurner boards
759ce6e7 2013-07-20 13:20:24 usb timeouts - min/max also
2dffc96e 2013-07-20 12:56:57 log USB timeouts in API stats
4cb7cfb2 2013-07-18 09:59:10 usbutils use a heap buffer for bulk read rather than stack
2beb30f1 2013-06-28 22:55:55 bflsc get volts stats needs its own GETVOLTS
9ecef180 2013-06-26 12:53:05 usbutils/icarus include more locking to usbdev access