summaryrefslogtreecommitdiff
path: root/lib/libusb
Commit message (Collapse)AuthorAgeFilesLines
* META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.Bryan Drewery2015-11-251-1/+0
| | | | | | | | | | | This both avoids some dependencies on xinstall.host and allows bootstrapping on older releases to work due to lack of at least 'install -l' support. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291307
* Remove redundant COMPAT_32BIT guard on pkgconfig files. This is already handledBryan Drewery2015-10-031-2/+2
| | | | | | | | | by the LIBRARIES_ONLY mechanism protecting FILES. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=288615
* Replace beforeinstall: handling with FILES.Bryan Drewery2015-09-181-10/+3
| | | | | | | | | This actually fixes some cases to respect LIBRARIES_ONLY. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=287980
* bsd.lib.mk has to be included after MLINKS assignmentAntoine Brodin2015-08-151-2/+2
| | | | Notes: svn path=/head/; revision=286812
* libusb: Fix minor cast-qual warning.Pedro F. Giffuni2015-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 Notes: svn path=/head/; revision=285720
* Remove unused variables to silence CLANG warnings.Marcelo Araujo2015-06-242-14/+4
| | | | | | | | | | Remove some BLANK lines and unnecessary TABS. Differential Revision: D2687 Reviewed by: rodrigc, hselasky Notes: svn path=/head/; revision=284744
* Add META_MODE support.Simon J. Gerraty2015-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 Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-275-5/+12
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Merge from head@274682Simon J. Gerraty2014-11-192-0/+10
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=274683
| * \ Merge head from 7/28Simon J. Gerraty2014-08-192-1/+3
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * | | Updated dependenciesSimon J. Gerraty2014-05-161-1/+1
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * | | Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * | | Merge headSimon J. Gerraty2014-04-276-18/+87
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265006
| * \ \ \ Merge from headSimon J. Gerraty2013-09-0514-64/+189
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=255263
| * \ \ \ \ sync from headSimon J. Gerraty2013-04-1216-31/+190
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=249429
| * | | | | | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | | | | | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | | | | | Updated/new Makefile.dependSimon J. Gerraty2012-11-081-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242788
| * | | | | | Sync from headSimon J. Gerraty2012-11-048-23/+81
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | | | | | Add more USB request definitions. The values are described in sectionHans Petter Selasky2015-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 Notes: svn path=/head/; revision=277245
* | | | | | | | Fix spelling.Hans Petter Selasky2015-01-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=277165
* | | | | | | | mdoc: improvements to SEE ALSO.Joel Dahl2014-12-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=276294
* | | | | | | | Convert libraries to use LIBADDBaptiste Daroussin2014-11-251-2/+1
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While here reduce a bit overlinking Notes: svn path=/head/; revision=275024
* | | | | | | only install .pc files when we are not installing 32bit compat libs...John-Mark Gurney2014-10-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the problem of installing the .pc files multiple times... Notes: svn path=/head/; revision=273756
* | | | | | | Add more USB class codes.Hans Petter Selasky2014-08-181-0/+8
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Obtained from: libusb project at SourceForge MFC after: 1 week Notes: svn path=/head/; revision=270133
* | | | | | Update reported libusb version to 1.0.13Ed Maste2014-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 Notes: svn path=/head/; revision=267110
* | | | | | Add empty LIBUSB_CALL macro, to be compatible to the libusb 1.0-APIHans Petter Selasky2014-05-251-0/+2
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from sourceforge. PR: usb/190204 MFC after: 1 week Notes: svn path=/head/; revision=266664
* | | | | Tune buffer sizes for SuperSpeed USB when using LibUSB v0.1 and v1.0Hans Petter Selasky2014-04-112-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | APIs to increase the maximum bandwidth limit. MFC after: 1 week Notes: svn path=/head/; revision=264344
* | | | | libusb: add libusb_log_level enumEitan Adler2014-03-141-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is documented on http://libusb.sourceforge.net/api-1.0/group__lib.html Notes: svn path=/head/; revision=263191
* | | | | Comply to the official LibUSB v1.0 API:Hans Petter Selasky2014-01-281-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "It is legal to attempt to claim an already-claimed interface." MFC after: 1 week Notes: svn path=/head/; revision=261224
* | | | | Implement two new libusb API functions.Hans Petter Selasky2014-01-054-11/+66
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | PR: usb/185454 MFC after: 2 weeks Notes: svn path=/head/; revision=260315
* | | | Correct two comments.Hans Petter Selasky2013-09-051-2/+2
| | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=255242
* | | | Add pkgconf files for libusb.Rui Paulo2013-07-254-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed by: hselasky Notes: svn path=/head/; revision=253637
* | | | Add some missing definitions to build a working FreeBSD's libusb under Linux.Hans Petter Selasky2013-07-144-55/+67
| | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=253339
* | | | Add libusb_get_port_numbersEd Maste2013-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. Notes: svn path=/head/; revision=251495
* | | | mdoc sweep.Joel Dahl2013-05-121-3/+3
| | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=250582
* | | | Add libusb_get_port_path wrapperEd Maste2013-05-083-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This follows the libusbx API reference at http://libusbx.sourceforge.net/api-1.0/group__dev.html Reviewed by: hselasky@ Notes: svn path=/head/; revision=250342
* | | | Constify libusb_get_pollfds returnEd Maste2013-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@ Notes: svn path=/head/; revision=250335
* | | | Add new USB API to get the port path of a USB device.Hans Petter Selasky2013-05-036-1/+45
| |_|/ |/| | | | | | | | | | | | | | | | | | | | 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-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. Notes: svn path=/head/; revision=248236
* | | Add USB API to read power draw on USB devices.Hans Petter Selasky2013-02-146-1/+39
| |/ |/| | | | | | | | | | | | | | | | | 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-135-14/+43
| | | | | | | | | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=239239
* | LibUSB v1.0 API compiliance and bugfixes.Hans Petter Selasky2012-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 Notes: svn path=/head/; revision=236944
* | mdoc: minor Bl improvements.Joel Dahl2012-06-021-4/+5
|/ | | | Notes: svn path=/head/; revision=236438
* General mdoc(7) and typo fixes.Glen Barber2012-05-112-18/+18
| | | | | | | | | PR: 167734 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days Notes: svn path=/head/; revision=235286
* Add missing LibUSB 1.0 API function: libusb_get_string_descriptor().Hans Petter Selasky2012-05-074-1/+28
| | | | | | | Reported by: Xiaofan Chen Notes: svn path=/head/; revision=235128
* Fix typo.Hans Petter Selasky2012-04-251-1/+1
| | | | Notes: svn path=/head/; revision=234687
* Bump the libusb major version due to the last commit, whichHans Petter Selasky2012-04-251-2/+2
| | | | | | | | | | changes the libusb 1.0 API. While at it, correct a manual page symlink. Suggested by: kib @ Notes: svn path=/head/; revision=234686