Re: [PATCH 5/5] USB: Support for allocating USB 3.0 streams.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 02, 2010 at 10:13:38PM -0400, Alan Stern wrote:
> On Fri, 2 Apr 2010, Sarah Sharp wrote:
> 
> > diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c
> > index f3c2338..cc599da 100644
> > --- a/drivers/usb/core/driver.c
> > +++ b/drivers/usb/core/driver.c
> > @@ -497,6 +497,60 @@ void usb_driver_release_interface(struct usb_driver *driver,
> >  }
> >  EXPORT_SYMBOL_GPL(usb_driver_release_interface);
> >  
> > +/* Sets up a group of bulk endpoints to have num_streams stream IDs available.
> > + * Drivers may queue multiple transfers to different stream IDs, which may
> > + * complete in a different order than they were queued.
> > + */
> > +int usb_alloc_streams(struct usb_interface *interface,
> > +		struct usb_host_endpoint **eps, unsigned int num_eps,
> > +		unsigned int num_streams, gfp_t mem_flags)
> > +{
> 
> Don't these routines belong in hcd.c rather than driver.c?  They are 
> basically glue between the core and the HCDs, after all.

Sure, I'll move them and re-submit.

Sarah Sharp
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux