svn commit: r282511 - stable/8/sys/dev/usb

Hans Petter Selasky hselasky at FreeBSD.org
Tue May 5 20:01:29 UTC 2015


Author: hselasky
Date: Tue May  5 20:01:28 2015
New Revision: 282511
URL: https://svnweb.freebsd.org/changeset/base/282511

Log:
  MFC r280598:
  Add definition of the ISOCHRONOUS endpoint usage bits.
  Refer to the USB v2.0 specification for more information.

Modified:
  stable/8/sys/dev/usb/usb.h
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/dev/   (props changed)
  stable/8/sys/dev/usb/   (props changed)

Modified: stable/8/sys/dev/usb/usb.h
==============================================================================
--- stable/8/sys/dev/usb/usb.h	Tue May  5 20:00:20 2015	(r282510)
+++ stable/8/sys/dev/usb/usb.h	Tue May  5 20:01:28 2015	(r282511)
@@ -525,6 +525,11 @@ struct usb_endpoint_descriptor {
 #define	UE_ISO_ADAPT	0x08
 #define	UE_ISO_SYNC	0x0c
 #define	UE_GET_ISO_TYPE(a)	((a) & UE_ISO_TYPE)
+#define	UE_ISO_USAGE	0x30
+#define	UE_ISO_USAGE_DATA	0x00
+#define	UE_ISO_USAGE_FEEDBACK	0x10
+#define	UE_ISO_USAGE_IMPLICT_FB	0x20
+#define	UE_GET_ISO_USAGE(a)	((a) & UE_ISO_USAGE)
 	uWord	wMaxPacketSize;
 #define	UE_ZERO_MPS 0xFFFF		/* for internal use only */
 	uByte	bInterval;


More information about the svn-src-all mailing list