summaryrefslogtreecommitdiffstats
path: root/lib/libusb/libusb10_io.c
Commit message (Collapse)AuthorAgeFilesLines
* LibUSB v1.0 API compiliance and bugfixes.hselasky2012-06-121-3/+7
| | | | | | | | | | | | | | | - Use CLOCK_MONOTONIC instead of CLOCK_REALTIME, because CLOCK_MONOTONIC does not wrap into negative in near future. This fixes any potential problems using "pthread_cond_timedwait()". - Fix a bug where the "libusb_wait_for_event()" function computes an absolute timeout instead of a relative timeout. USB transfers do not depend on this timeout value. - Add dependency towards LibPthread to Makefile, because LibUSB v1.0 needs this library to function correctly. MFC after: 1 week
* Fix some compile warnings.hselasky2012-04-201-10/+10
| | | | MFC after: 1 week
* Fix LibUSB v1.0 compliancy.hselasky2010-11-131-4/+7
| | | | | | | | | | 1) We need to allow the USB callback to free the USB transfer itself. 2) The USB transfer buffer should only be automatically freed when freeing the USB transfer. Fixed by: hselasky Submitted by: Gustau Perez i Querol Approved by: thompsa (mentor)
* - Fix some compile warnings regarding comparing signed to unsigned.hselasky2010-10-141-2/+2
| | | | Approved by: thompsa (mentor)
* Fix header file compliancy with libusb 1.0 from sourceforge.thompsa2010-05-131-0/+2
| | | | | Reported by: Xiaofan Chen Submitted by: Hans Petter Selasky
* Resort includes to match style(9) a bit more. No functional changewkoszek2010-02-131-5/+6
| | | | | | | is expected after this commit. Tested by: make buildworld Reviewed by: hps (patch without .h changes)
* Remove redundand headers and use more standard ones where necessary.wkoszek2010-02-111-1/+0
| | | | Reviewed by: hps@
* - fix refcounting error during data transferthompsa2009-11-081-7/+165
| | | | | | | | | | | | | - fix a memory leak on the USB backend - fix invalid pointer computations (in one case memory outside the allocated area was written in LibUSB v1.0) - make sure memory is always initialised, also in failing cases - add missing functions from v1.0.4 PR: usb/140325 Reported by: Robert Jenssen Submitted by: Hans Petter Selasky MFC After: 3 days
* LibUSB v1.0:alfred2009-07-301-573/+284
| | | | | | | | | - Significantly improve libusb10 support. - Many minor issues fixed. - P4 ID: 166189, 165853, 165991, 166052, 166069 Submitted by: hps Approved by: re
* Sync the libusb 1.0 exported api to the latest GSoC code.thompsa2009-07-101-71/+187
| | | | | | | | | | - Fix possible uninitialised variables and null derefs - Support big transfers - Various bug fixes and style changes Submitted by: Sylvestre Gallon Sponsored by: Google Summer of Code 2009 Approved by: re (kib)
* Add files missed in r194674.thompsa2009-06-231-0/+748
Add libusb 1.0 support which is compatible with the latest revision on Sourceforge. Libusb 1.0 is a portable usb api released December 2008 and supersedes the original libusb released 10 years ago, it supports isochronous endpoints and asynchronous I/O. Many applications have already started using the interfaces. This has been developed as part of Google Summer of Code this year by Sylvestre Gallon and has been cribbed early due to it being desirable in FreeBSD 8.0 Submitted by: Sylvestre Gallon Sponsored by: Google Summer of Code 2009 Reviewed by: Hans Petter Selasky
OpenPOWER on IntegriCloud