summaryrefslogtreecommitdiffstats
path: root/lib/libusb
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant COMPAT_32BIT guard on pkgconfig files. This is already handledbdrewery2015-10-031-2/+2
| | | | | | by the LIBRARIES_ONLY mechanism protecting FILES. Sponsored by: EMC / Isilon Storage Division
* Replace beforeinstall: handling with FILES.bdrewery2015-09-181-10/+3
| | | | | | This actually fixes some cases to respect LIBRARIES_ONLY. Sponsored by: EMC / Isilon Storage Division
* bsd.lib.mk has to be included after MLINKS assignmentantoine2015-08-151-2/+2
|
* libusb: Fix minor cast-qual warning.pfg2015-07-201-5/+3
| | | | | | | | | | Fix a warning triggered by the gcc + FORTIFY_SOURCE patches: In function 'libusb20_parse_config_desc': lib/libusb/libusb20_desc.c:141: warning: passing argument 1 of 'memcpy' discards qualifiers from pointer target type Submitted by: hselansky
* Remove unused variables to silence CLANG warnings.araujo2015-06-242-14/+4
| | | | | | | Remove some BLANK lines and unnecessary TABS. Differential Revision: D2687 Reviewed by: rodrigc, hselasky
* Add META_MODE support.sjg2015-06-131-0/+20
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-275-5/+12
| |\ | |/ |/|
| * Merge from head@274682sjg2014-11-192-0/+10
| |\
| * \ Merge head from 7/28sjg2014-08-192-1/+3
| |\ \
| * | | Updated dependenciessjg2014-05-161-1/+1
| | | |
| * | | Updated dependenciessjg2014-05-101-0/+2
| | | |
| * | | Merge headsjg2014-04-276-18/+87
| |\ \ \
| * \ \ \ Merge from headsjg2013-09-0514-64/+189
| |\ \ \ \
| * \ \ \ \ sync from headsjg2013-04-1216-31/+190
| |\ \ \ \ \
| * | | | | | Updated dependenciessjg2013-03-111-0/+1
| | | | | | |
| * | | | | | Updated dependenciessjg2013-02-161-2/+0
| | | | | | |
| * | | | | | Updated/new Makefile.dependsjg2012-11-081-0/+4
| | | | | | |
| | | | | | |
| | \ \ \ \ \
| | \ \ \ \ \
| | \ \ \ \ \
| *---. \ \ \ \ \ Sync from headsjg2012-11-048-23/+81
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | | | | | Add more USB request definitions. The values are described in sectionhselasky2015-01-162-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9.4.11 and 9.4.12 of the "Universal Serial Bus 3.0 Specification" Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com> MFC after: 1 week
* | | | | | | | | | Fix spelling.hselasky2015-01-141-2/+2
| | | | | | | | | |
* | | | | | | | | | mdoc: improvements to SEE ALSO.joel2014-12-271-1/+1
| | | | | | | | | |
* | | | | | | | | | Convert libraries to use LIBADDbapt2014-11-251-2/+1
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | While here reduce a bit overlinking
* | | | | | | | | only install .pc files when we are not installing 32bit compat libs...jmg2014-10-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the problem of installing the .pc files multiple times...
* | | | | | | | | Add more USB class codes.hselasky2014-08-181-0/+8
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Obtained from: libusb project at SourceForge MFC after: 1 week
* | | | | | | | Update reported libusb version to 1.0.13emaste2014-06-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QEMU libusb host support needs at least libusbx-1.0.13, and our in-tree libusb supports the required functionality. Exp-run in PR. PR: 181035
* | | | | | | | Add empty LIBUSB_CALL macro, to be compatible to the libusb 1.0-APIhselasky2014-05-251-0/+2
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from sourceforge. PR: usb/190204 MFC after: 1 week
* | | | | | | Tune buffer sizes for SuperSpeed USB when using LibUSB v0.1 and v1.0hselasky2014-04-112-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | APIs to increase the maximum bandwidth limit. MFC after: 1 week
* | | | | | | libusb: add libusb_log_level enumeadler2014-03-141-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is documented on http://libusb.sourceforge.net/api-1.0/group__lib.html
* | | | | | | Comply to the official LibUSB v1.0 API:hselasky2014-01-281-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "It is legal to attempt to claim an already-claimed interface." MFC after: 1 week
* | | | | | | Implement two new libusb API functions.hselasky2014-01-054-11/+66
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | PR: usb/185454 MFC after: 2 weeks
* | | | | | Correct two comments.hselasky2013-09-051-2/+2
| | | | | |
* | | | | | Add pkgconf files for libusb.rpaulo2013-07-254-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | Reviewed by: hselasky
* | | | | | Add some missing definitions to build a working FreeBSD's libusb under Linux.hselasky2013-07-144-55/+67
| | | | | |
* | | | | | Add libusb_get_port_numbersemaste2013-06-073-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libusbx deprecated libusb_get_port_path and replaced it with libusb_get_port_numbers. The latter omits an extra parameter which was unused in the FreeBSD implementation anyway.
* | | | | | mdoc sweep.joel2013-05-121-3/+3
| | | | | |
* | | | | | Add libusb_get_port_path wrapperemaste2013-05-083-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This follows the libusbx API reference at http://libusbx.sourceforge.net/api-1.0/group__dev.html Reviewed by: hselasky@
* | | | | | Constify libusb_get_pollfds returnemaste2013-05-072-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The correct return type, per our libusb(3) man page and the libusb.org and libusbx projects (whose interface we intend to follow for our libusb), is const struct libusb_pollfd **. Unfortunately the doxygen-generated libusbx API documentation[1] omits[2] the const for some reason. [1] http://libusbx.sourceforge.net/api-1.0/group__poll.html#gab1a72869a926552b27a6c667695df3a2 [2] http://sourceforge.net/mailarchive/forum.php?thread_name=497D10BE.8090007%40n-dimensional.de&forum_name=libusb-devel Reviewed by: hselasky@
* | | | | | Add new USB API to get the port path of a USB device.hselasky2013-05-036-1/+45
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | MFC after: 2 weeks Requested by: emaste @
* | | | | - Make the FreeBSD's USB library compile under Linux.hselasky2013-03-1314-30/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | | | | Add USB API to read power draw on USB devices.hselasky2013-02-146-1/+39
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | Update usbconfig to print power draw on USB devices. MFC after: 2 weeks Submitted by: Matt Burke @ icritical.com
* | | | Add support for streams to LibUSB v2.0.hselasky2012-08-135-14/+43
| |/ / |/| | | | | | | | MFC after: 2 weeks
* | | LibUSB v1.0 API compiliance and bugfixes.hselasky2012-06-123-5/+33
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | mdoc: minor Bl improvements.joel2012-06-021-4/+5
|/
* General mdoc(7) and typo fixes.gjb2012-05-112-18/+18
| | | | | | PR: 167734 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
* Add missing LibUSB 1.0 API function: libusb_get_string_descriptor().hselasky2012-05-074-1/+28
| | | | Reported by: Xiaofan Chen
* Fix typo.hselasky2012-04-251-1/+1
|
* Bump the libusb major version due to the last commit, whichhselasky2012-04-251-2/+2
| | | | | | | changes the libusb 1.0 API. While at it, correct a manual page symlink. Suggested by: kib @
* Fix binary compatibility to the official LibUSB 1.0.hselasky2012-04-252-10/+3
| | | | | | | | This is useful for GNU/kFreeBSD and the libusb2debian port. Applications using the asynchronous API of LibUSB 1.0 needs to be recompiled after this update. Found by: lme @
OpenPOWER on IntegriCloud