On Wednesday 09 November 2005 4:46 am, Jayaprakash Shanmugam wrote:
> Hi all,
>   I had a code that receives interrupt data from the device.  It
> worked with 2.4 kernel.  I migrated to 2.6 kernel and it now calls the
> Interrupt handler just once.

Yes, in 2.4 the host controller drivers did "automagic resubmit".

None of them did it the same way, and the semantics were not just
wierd, but they were non-robust since there was no way to report
any errors back to the device drivers from those resubmit paths...

So the 2.6 kernels have a simple rule:  submit an urb once, and
it'll complete once.

What that means is drivers migrating from 2.4 to 2.6 have to add
explicit urb resubmission in completion callbacks for interrupt
or isochronous transfers.

- Dave


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to