Thread (20 messages) flat view 20 messages, 5 authors, 2007-11-24

Re: [PATCH 1/5] USB: Make usb_hcd_irq work for multi-role USB controllers w/ shared irq

From: Greg KH <gregkh@suse.de>
Date: 2007-11-24 05:09:27

On Fri, Nov 23, 2007 at 05:24:31PM -0700, Grant Likely wrote:
From: Peter Korsgaard <peter.korsgaard@barco.com>

Some multi-role (host/peripheral) USB controllers use a shared interrupt
line for all parts of the chip. Export usb_hcd_irq so drivers can call it
from their interrupt handler instead of duplicating code.
Drivers pass an irqnum of 0 to usb_add_hcd to signal that the interrupt handler
shouldn't be registerred by the core.
What about for platforms where irq 0 is a valid irq?

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help