On Fri, 6 Oct 2006, Christopher "Monty" Montgomery wrote:

> On 10/6/06, Alan Stern <[EMAIL PROTECTED]> wrote:
> 
> > Why do you say that?  In principle it's possible to report loss of sync
> > quite easily.  uhci-hcd reports it by setting
> > urb->iso_frame_desc[n].status to -EXDEV.  It won't release the bandwidth
> > reservation when this happens.  I don't see any reason why ehci-hcd
> > shouldn't behave the same way.
> 
> Is that returned immediately upon next submission...?  Or do you have
> to wait until the next URB completes to see the -EXDEV?  Obviously, it
> can't be reported by the URB preceeding the missed slots.

If by "next URB" you mean the one that was submitted too late, then -EXDEV 
is returned when the next URB completes.  It's difficult or impossible to 
return it any earlier, because of races with the hardware.

Alan Stern


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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