Re: OHCI hangs after failing to free resources

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Fri, 6 Jul 2007, Mike Nuss wrote:

> > Here's what I meant.  Normally SOF interrupts are disabled, but when 
> > the driver gets a completion interrupt for an URB it could turn on the 
> > SOF interrupt for the next frame only.  Then when the next interrupt 
> > occurs the driver could compare the ED states with the donelist, 
> > checking for inconsistencies.
> 
> What do you mean by 'completion interrupt for an URB?'

For the last TD in an URB, ohci-hcd generally sets DI (DelayInterrupt)
in the first dword to a value < 7 so the HC will generate an IRQ when
the TD completes or shortly thereafter.  That's the completion
interrupt.

Alan Stern


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.