Getting the IRQ number (Was: Basic driver devel questions ?)
Guillaume Dargaud
dargaud at lpsc.in2p3.fr
Fri Dec 3 02:36:05 EST 2010
> How was your driver probed? If you can get a pointer to the device
> node, use irq_of_parse_and_map() to get a virtual irq that you can pass
> to request_irq().
Sounds like what I need... But I don't find irq_of_parse_and_map() in LDD 3rd
ed and very few info in google. Are there some examples of use somewhere ?
> Can your driver tolerate it being shared? If so, request it as shared.
I think so (not sure).
--
Guillaume Dargaud
http://www.gdargaud.net/
More information about the Linuxppc-dev
mailing list