aboutsummaryrefslogtreecommitdiff
path: root/lib/libusb/libusb20.h
Commit message (Collapse)AuthorAgeFilesLines
* Implement new libusb v2.0 API function, libusb20_dev_get_stats().Hans Petter Selasky2019-12-271-0/+7
| | | | | | | | | | This function is useful when debugging USB device issues. MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=356136
* lib: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-261-0/+2
| | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using mis-identified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Notes: svn path=/head/; revision=326219
* Add new USB API to get the port path of a USB device.Hans Petter Selasky2013-05-031-0/+1
| | | | | | | | MFC after: 2 weeks Requested by: emaste @ Notes: svn path=/head/; revision=250201
* - Make the FreeBSD's USB library compile under Linux.Hans Petter Selasky2013-03-131-6/+2
| | | | | | | | | | - Fix a compile warning where the return value of a call to a write() function was ignored. - Remove redundant include files from userland USB header files. - Add some now needed include files to various C-files. Notes: svn path=/head/; revision=248236
* Add USB API to read power draw on USB devices.Hans Petter Selasky2013-02-141-0/+1
| | | | | | | | | | Update usbconfig to print power draw on USB devices. MFC after: 2 weeks Submitted by: Matt Burke @ icritical.com Notes: svn path=/head/; revision=246789
* Add support for streams to LibUSB v2.0.Hans Petter Selasky2012-08-131-0/+1
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=239239
* Implement missing USB debug information functions.Hans Petter Selasky2011-09-191-0/+5
| | | | | | | | Approved by: re (kib) MFC after: 1 week Notes: svn path=/head/; revision=225659
* - Add two new API's to libusb20 which can be used to retrive informationHans Petter Selasky2011-06-241-0/+2
| | | | | | | | | | | | | about the parent USB device: - libusb20_dev_get_parent_address - libusb20_dev_get_parent_port - Rename libusb20_compat01.c into libusb01.c MFC after: 3 days Notes: svn path=/head/; revision=223495
* - Add support for software pre-scaling of ISOCHRONOUS transfers.Hans Petter Selasky2011-02-281-1/+2
| | | | | | | | MFC after: 14 days Approved by: thompsa (mentor) Notes: svn path=/head/; revision=219100
* Resort includes to match style(9) a bit more. No functional changeWojciech A. Koszek2010-02-131-5/+5
| | | | | | | | | | is expected after this commit. Tested by: make buildworld Reviewed by: hps (patch without .h changes) Notes: svn path=/head/; revision=203815
* Add a function to check if the usb devices is still connected.Andrew Thompson2010-01-291-0/+1
| | | | | | | Submitted by: Hans Petter Selasky Notes: svn path=/head/; revision=203147
* Sync to P4Andrew Thompson2009-11-201-1/+2
| | | | | | | | | | | | - fix a transfer cancelling bug/segfault [1] - correct a return code in the transfer cancel function. - add new API function, libusb20_tr_bulk_intr_sync(). Submitted by: HPS Reported by: Robert Jenssen [1] Notes: svn path=/head/; revision=199575
* Cleanup claim/release interface code, which is specific to libusb v0.1. RemoveAndrew Thompson2009-06-121-2/+0
| | | | | | | | | claim and release interface support from libusb v2.0, because it is not useful. Submitted by: Hans Petter Selasky Notes: svn path=/head/; revision=194069
* Add libusb20_tr_get_length to get the transfer length.Andrew Thompson2009-06-021-0/+1
| | | | | | | Submitted by: Hans Petter Selasky Notes: svn path=/head/; revision=193313
* s/usb2_/usb_/ on all C structs for the USB stack.Andrew Thompson2009-05-281-2/+2
| | | | Notes: svn path=/head/; revision=192984
* Add prototypes for libusb20_be_[gs]et_template.Xin LI2009-03-171-0/+2
| | | | Notes: svn path=/head/; revision=189939
* libusb20 is now installed as libusb, remove the version number from theAndrew Thompson2009-03-091-0/+298
directory name. Notes: svn path=/head/; revision=189587