]> CyberLeo.Net >> Repos - FreeBSD/stable/9.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)
commit8704f5af2e9d0dfa0014634efe57a1ec73a2b388
treee4d79d9ff6c03185b55881c49da2c8137908815f
parentee96cde23ab43ea94bc844507f3623a3c19b7804
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/9@362224 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libusb/Makefile
lib/libusb/libusb.3
lib/libusb/libusb.h
lib/libusb/libusb10.c