On Thu, Feb 14, 2002, David Brownell <[EMAIL PROTECTED]> wrote: > > It's odd that the two types of hardware treat the interrupt case where > > interval == 0 differently. Is either of them wrong by the specification > > or are they both right? > > My take is that the interval==0 behavior is a UHCI driver behavior > that should not be relied on. Magic values like that are trouble. > > The portable way to get a one-shot interrupt transfer should be > to submit the transfer as usual (real period) then unlink it in the > completion handler for that transfer.
That won't work with uhci.o or usb-uhci.o. You can't unlink a resubmitting interrupt urb in the completion handler. The HC will resubmit it regardless if the completion handler unlinked it. Maybe we should drop the auto resubmitting for 2.5 and require drivers to use ->next? JE _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel