Author: hselasky
Date: Fri Jan 16 12:11:01 2015
New Revision: 277245
URL: https://svnweb.freebsd.org/changeset/base/277245

Log:
  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"
  
  Submitted by: Dmitry Luhtionov <dmitryluhtio...@gmail.com>
  MFC after:    1 week

Modified:
  head/lib/libusb/libusb.h
  head/lib/libusb/libusb20_desc.h

Modified: head/lib/libusb/libusb.h
==============================================================================
--- head/lib/libusb/libusb.h    Fri Jan 16 11:51:47 2015        (r277244)
+++ head/lib/libusb/libusb.h    Fri Jan 16 12:11:01 2015        (r277245)
@@ -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 {

Modified: head/lib/libusb/libusb20_desc.h
==============================================================================
--- head/lib/libusb/libusb20_desc.h     Fri Jan 16 11:51:47 2015        
(r277244)
+++ head/lib/libusb/libusb20_desc.h     Fri Jan 16 12:11:01 2015        
(r277245)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to