Am Freitag, 18. Juli 2003 00:38 schrieb David Brownell:
> Oliver Neukum wrote:
> > Am Donnerstag, 17. Juli 2003 23:09 schrieb Alan Stern:
> >
> >>Johannes:
> >>
> >>A bug has turned up in the UHCI driver. Briefly, when an URB completes,
> >>uhci_transfer_result() doesn't store the status in urb->status but only in
> >>urbp->status. urb->status is set just before calling hcd_giveback_urb().
> >>
> >>However, the hcd glue layer uses urb->status == -EINPROGRESS as a test for
> >
> >
> > It shouldn't use it. The clean way to fix this issue is to have an explicit
> > state field.
>
> But urb->state ** IS ** an explicit state field.
>
> It holds the first fault experienced by that request. One of
> those fault codes is a software-induced "you're being unlinked"
> fault, which goes with an "unlink this asap" request from usbcore.
Right, it holds information about the status of the io operation the URB
describes. It doesn't hold information about the status of the URB itself,
such as unlinkable, ununlinkable, running completion handler, unlinked
These are not identical. We just have a loose connection of EINPROGRESS
meaning unlinkable, which is not a clean way to do this.
Regards
Oliver
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel