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 when the driver owns the urb,
> that is, starting from the completion routine until the urb is submitted
> with usb_submit_urb()? 

Right now, it should be.

> If it is, can it be guaranteed in future, e.g. 
> by moving the list head into the public section of struct urb?

In fact I'm not sure why it ever got called "private" to usbcore/hcds.
I thought the idea was that it should be like urb->status, reserved for
whoever controls the URB.



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to