summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2013-10-09 17:19:25 +0200
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2014-03-04 15:38:03 -0800
commit8d4f70b2fa52ca80f74faebc2471f74ee374cf61 (patch)
tree0794531c519e89498617ae60f9222327761be06b /include
parent8f5d35441ff26b31e3812556ce468c76f1eb216b (diff)
downloadop-kernel-dev-8d4f70b2fa52ca80f74faebc2471f74ee374cf61.zip
op-kernel-dev-8d4f70b2fa52ca80f74faebc2471f74ee374cf61.tar.gz
usb-core: Track if an endpoint has streams
This is a preparation patch for adding support for bulk streams to usbfs. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h
index 9b73dd7..f1015ce 100644
--- a/include/linux/usb.h
+++ b/include/linux/usb.h
@@ -57,6 +57,7 @@ struct ep_device;
* @extra: descriptors following this endpoint in the configuration
* @extralen: how many bytes of "extra" are valid
* @enabled: URBs may be submitted to this endpoint
+ * @streams: number of USB-3 streams allocated on the endpoint
*
* USB requests are always queued to a given endpoint, identified by a
* descriptor within an active interface in a given USB configuration.
@@ -71,6 +72,7 @@ struct usb_host_endpoint {
unsigned char *extra; /* Extra descriptors */
int extralen;
int enabled;
+ int streams;
};
/* host-side wrapper for one interface setting's parsed descriptors */
OpenPOWER on IntegriCloud