326 Commits (c9b54f1502d4e7cc98a46857bfccb83ac94f479b)

Author SHA1 Message Date
ckolivas 372c40956a Reuse the DRIVER_ macros to avoid having yet another definition for DRV_ 11 years ago
ckolivas 2903028e6b Use macro expansion to generate extern device_drv prototypes. 11 years ago
ckolivas 8875197466 Create a macro list of drivers to enable easier addition of further drivers. 11 years ago
Con Kolivas 71797050f2 There is no point setting the BF1 preferred packet size to the maximum since it will do so automatically. 11 years ago
Kano 9b9dde1667 usbutils - fix USBDEBUG warnings 11 years ago
Con Kolivas 8d133706c9 Remove unnecessary steps in communicating with BF1 and just use USB interface 1. 11 years ago
Kano 61c2ac5714 usbutils - usb_bulk_transfer fix the buf/data fix 11 years ago
Kano ffea432f73 usb_bulk_transfer - use the allocated buffer 11 years ago
Con Kolivas 2fc5c1d0ec Set preferred packet sizes per interface on BF1. 11 years ago
Kano d3a3b3a73d usbutils allow PrefPacketSize per endpoint 11 years ago
Con Kolivas 7deaa91b26 Add information for 2nd USB interface on BF1 devices and choose interface 1 for bulk transfers. 11 years ago
Kano d8518f4336 usbutils - bulk transfer copy test fix 11 years ago
Kano a62267fa93 usbutils - add USBDEBUG for usb_bulk_transfer 11 years ago
Kano 36d8653406 usbutils - interfaces must all be on one handle - ep implies the interface 11 years ago
Con Kolivas 435065c86b Rename BF1 devices BF1 11 years ago
Con Kolivas d6949f3a94 Decrease usb buffering to verbose logging. 11 years ago
Con Kolivas 759e82bb98 Add in first draft for a serialised work model sending/receiving data for BF1 devices. 11 years ago
Con Kolivas 2ab023f300 Add BF1 detection code to bitfury driver. 11 years ago
Con Kolivas 99c838965e Add bf1 device information to usbutils to enable device detection. 11 years ago
Con Kolivas 48f5ff3754 Use macro expansion to only need to define usb enums and commands in one place. 11 years ago
Kano 0e8028fc29 usbutils saving incorrect overflow buffer 11 years ago
Kano 95eb948053 usbtils - interfaces dont work yet in libusb windows so disable for that only 11 years ago
Con Kolivas 62f6fefb12 Create a struct array of hashfast commands and their associated usb command names. 11 years ago
Kano 1910e37121 usbutils - only release the device once - for the first intinfo 11 years ago
Kano 0f0b0f818f usbutils set_interface is no longer valid 11 years ago
Kano 166147a803 ubsutils interfaces much each have their own handle 11 years ago
Con Kolivas d866973d52 Add templates for USB commands likely to be used by hashfast driver. 11 years ago
Con Kolivas 78932aa1ed Provide basic structure for a hashfast driver. 11 years ago
Kano 00c2c3369a usbutils kernel_detach should use the interface number 11 years ago
Kano 24858de6de usbutils - allow the driver to change which_intinfo 11 years ago
Kano cc5c998164 usbutils correct/reverse CMR product numbers 11 years ago
Kano 67b9ee4448 usbutils specifically track handles and interfaces 11 years ago
Kano 08483717aa usbutils - allow a device to use multiple interfaces (and better var names) 11 years ago
Con Kolivas b1823f2723 Always use a maxpacketsize buffer in usb_bulk_transfer 11 years ago
Con Kolivas fb00f24bcf Use 64 bytes for all libusb control transfers. 11 years ago
Con Kolivas 33ae5ab8b9 Use an internal buffer in _usb_transfer_read in case the read is larger than the buffer passed to it. 11 years ago
Kano 612c0b12c8 usbutils cps sleep_estimate is not an underestimate 12 years ago
Kano 01855a6051 usbutils add cps stats estimates 12 years ago
Con Kolivas deb7be72c6 Use the reentrant cgsleep functions for usecps in usbutils. 12 years ago
Con Kolivas eeac9d81fc Replace all references to the old n*sleep functions with the equivalent cgsleep_*s replacements. 12 years ago
Con Kolivas f7e6701058 Fix uninit variable warnings. 12 years ago
Kano ac08ed1d03 usbutils - force check every combination 12 years ago
Chris Chua b0f4d55be7 changes to Avalon driver for BitBurner boards 12 years ago
Michael Bemmerl 1c7ef61c47 Fixed typos 12 years ago
Kano 759ce6e7d2 usb timeouts - min/max also 12 years ago
Kano 2dffc96e3c log USB timeouts in API stats 12 years ago
Kano 52cda25f98 usbutils report failed timeouts 12 years ago
Kano 660012678a usbutils ensure stats macros are using the macro arguments 12 years ago
Kano 4cb7cfb226 usbutils use a heap buffer for bulk read rather than stack 12 years ago
Kano 8b43e79f42 usbutils only one bulk transfer call per stat 12 years ago