Johannes Erdfelt wrote:
> 
> On Thu, Apr 06, 2000, David Brownell <[EMAIL PROTECTED]> wrote:
> > Matthew Dharm wrote:
> > >
> > > With usb-uhci.o and uhci.o, the status field of the URB is set to -2
> > > (-ENOENT).  With usb-ohci.o, this field is set to -110 (-EPIPE).
> >
> >       ENOENT: URB canceled by user
> >       EPIPE:  pipe stalled
> >
> > Invoking disconnect() doesn't seem like cancelation "by user",
> > considering it happens for reasons other than program request.
> >
> > Also, it looks like OHCI only sets EPIPE when the controller
> > actually reports a stall, while both UHCIs use ENOENT as a general
> > "this URB is pining for the fjords" flag.
> >
> > On that level of analysis, it seems like maybe OHCI discarded
> > some information it should have kept, or the two drivers approach
> > the problem differently enough to reasonably cause this symptom.
> >
> > Comments from someone who knows more about what's going on here?
> 
> On disconnect(), all of the outstanding URB's are explicitily
> unlinked by the HCD.

Not by the "user", though.
 
> In that case, ENOENT is the appropriate error code.

So is reporting EPIPE when you actually get a stall.

- Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to