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>
This commit is contained in:

committed by
Sarah Sharp

parent
8f5d35441f
commit
8d4f70b2fa
@@ -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 */
|
||||
|
Reference in New Issue
Block a user