SVNews r322322

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-08-09 18:06:27 - r322322 by kevans (kevans)

Complete list of files affected by revision r322322:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/lib/libusb/libusb.h  
  History   Contents   Diff   MODIFY   /head/lib/libusb/libusb10_desc.c  

Commit message:

libusb(3): Expose device caps as libusb_bos_descriptor::dev_capability

Some libusb consumers in Linux-land (in this case, libusb4java) expect a
dev_capability member that they can use to enumerate the device
capabilities.

No particular layout is expected of this, just that it can be traversed
using the bLength member until bNumDeviceCapabilities are read and that the
consumer may then use one of the libusb_get_*_descriptor methods to extract
specific (usb 2.0 vs. ss) capability information.

In collaboration with: hselasky
Reviewed by: hselasky
Approved by: emaste (mentor)
Differential Revision: https://reviews.freebsd.org/D11494

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 28 ms, 2 files printed. Current time is 2017-12-17 08:12:08. All times are in UTC/GMT.