summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2015-01-28 19:49:53 +0000
committerhselasky <hselasky@FreeBSD.org>2015-01-28 19:49:53 +0000
commitd9b02936695252287c2405ae54c87c69d764492c (patch)
treef2871d6126d27e0af4fffbe3635a3f924aba0a21 /lib
parent8f49a6a1cbf222f4718aa15691834c23f73819a2 (diff)
downloadFreeBSD-src-d9b02936695252287c2405ae54c87c69d764492c.zip
FreeBSD-src-d9b02936695252287c2405ae54c87c69d764492c.tar.gz
MFC r277245:
Add more USB request definitions. The values are described in section 9.4.11 and 9.4.12 of the "Universal Serial Bus 3.0 Specification"
Diffstat (limited to 'lib')
-rw-r--r--lib/libusb/libusb.h2
-rw-r--r--lib/libusb/libusb20_desc.h6
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/libusb/libusb.h b/lib/libusb/libusb.h
index 7f8634f..ab20e92 100644
--- a/lib/libusb/libusb.h
+++ b/lib/libusb/libusb.h
@@ -128,6 +128,8 @@ enum libusb_standard_request {
LIBUSB_REQUEST_GET_INTERFACE = 0x0A,
LIBUSB_REQUEST_SET_INTERFACE = 0x0B,
LIBUSB_REQUEST_SYNCH_FRAME = 0x0C,
+ LIBUSB_REQUEST_SET_SEL = 0x30,
+ LIBUSB_REQUEST_SET_ISOCH_DELAY = 0x31,
};
enum libusb_request_type {
diff --git a/lib/libusb/libusb20_desc.h b/lib/libusb/libusb20_desc.h
index 48e2715..c5f085f 100644
--- a/lib/libusb/libusb20_desc.h
+++ b/lib/libusb/libusb20_desc.h
@@ -481,6 +481,12 @@ enum libusb20_standard_request {
/** Set then report an endpoint's synchronization frame */
LIBUSB20_REQUEST_SYNCH_FRAME = 0x0C,
+
+ /** Set U1 and U2 system exit latency */
+ LIBUSB20_REQUEST_SET_SEL = 0x30,
+
+ /** Set isochronous delay */
+ LIBUSB20_REQUEST_SET_ISOCH_DELAY = 0x31,
};
/** \ingroup misc
OpenPOWER on IntegriCloud