]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r361977: libusb: improve compatibility
authorkevans <kevans@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 16 Jun 2020 12:21:55 +0000 (12:21 +0000)
committerkevans <kevans@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 16 Jun 2020 12:21:55 +0000 (12:21 +0000)
commita6a7aaf61a9f8b6f369044cd197023b4b8f24bb9
treee7bffa0df0a436db13c270fdbe3d3aba583ad497
parent00c1e6f11cb6738cc092b067291b50ac32dd0d7c
MFC r361977: libusb: improve compatibility

Specifically, add LIBUSB_CLASS_PHYSICAL and the libusb_has_capability API.
Descriptions and functionality for these derived from the
documentation at [0].  The current set of capabilities are all supported by
libusb.

These were detected as missing after updating net/freerdp to 2.1.1, which
attempted to use both.

[0] http://libusb.sourceforge.net/api-1.0/group__libusb__misc.html

git-svn-id: svn://svn.freebsd.org/base/stable/10@362224 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libusb/Makefile
lib/libusb/libusb.3
lib/libusb/libusb.h
lib/libusb/libusb10.c