Re: [linux-usb-devel] list head in struct urb

2005-05-06 Thread David Brownell
On Thursday 05 May 2005 1:55 pm, Roman Kagan wrote: > On Wed, May 04, 2005 at 01:37:30PM -0700, David Brownell wrote: > > On Wednesday 04 May 2005 12:19 pm, Roman Kagan wrote: > > > > If it is, can it be guaranteed in future, e.g. > > > by moving the list head into the public section of struct u

Re: [linux-usb-devel] list head in struct urb

2005-05-05 Thread Roman Kagan
On Wed, May 04, 2005 at 01:37:30PM -0700, David Brownell wrote: > On Wednesday 04 May 2005 12:19 pm, Roman Kagan wrote: > > struct urb { > > /* private, usb core and host controller only fields in the urb */ > > ... > > struct list_head urb_list; /* list pointer to all active urbs

Re: [linux-usb-devel] list head in struct urb

2005-05-04 Thread David Brownell
On Wednesday 04 May 2005 12:19 pm, Roman Kagan wrote: > struct urb { > /* private, usb core and host controller only fields in the urb */ > ... > struct list_head urb_list; /* list pointer to all active urbs */ > ... > }; > > Is it safe to use it for driver's purposes

[linux-usb-devel] list head in struct urb

2005-05-04 Thread Roman Kagan
Hi, As the recommended practice in 2.6 is to keep the endpoint queue busy, drivers (should) normally want to use multiple urbs on an endpoint. Given that, it would be very handy to have a list head in struct urb, so that drivers could conveniently manipulate multiple urbs. (As a real world exam