aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSarah Sharp <sarah.a.sharp@linux.intel.com>2010-04-02 18:34:10 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-20 16:21:37 -0400
commit94af1220985c71cd80d6c161b7a42c51ef08b923 (patch)
tree0256344a21dd26880146a9cad88c3ec19182d155 /include
parent22ad1e7f86e1fb96488d71512e2797153a6ad839 (diff)
USB: Add stream ID field to struct urb.
Bulk endpoint streams were added in the USB 3.0 specification. Streams allow a device driver to overload a bulk endpoint so that multiple transfers can be queued at once. Add a new field, stream_id, to struct urb so that USB 3.0 drivers can specify which stream they want the URB to be queued to. Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h
index e32a849f81c..191af498c4f 100644
--- a/include/linux/usb.h
+++ b/include/linux/usb.h
@@ -1196,6 +1196,7 @@ struct urb {
1196 struct usb_device *dev; /* (in) pointer to associated device */ 1196 struct usb_device *dev; /* (in) pointer to associated device */
1197 struct usb_host_endpoint *ep; /* (internal) pointer to endpoint */ 1197 struct usb_host_endpoint *ep; /* (internal) pointer to endpoint */
1198 unsigned int pipe; /* (in) pipe information */ 1198 unsigned int pipe; /* (in) pipe information */
1199 unsigned int stream_id; /* (in) stream ID */
1199 int status; /* (return) non-ISO status */ 1200 int status; /* (return) non-ISO status */
1200 unsigned int transfer_flags; /* (in) URB_SHORT_NOT_OK | ...*/ 1201 unsigned int transfer_flags; /* (in) URB_SHORT_NOT_OK | ...*/
1201 void *transfer_buffer; /* (in) associated data buffer */ 1202 void *transfer_buffer; /* (in) associated data buffer */