request_irq issue

Arnd Bergmann arnd at arndb.de
Thu Nov 6 01:10:01 EST 2008


On Wednesday 05 November 2008, Laxmikant Rashinkar wrote:
> But with the newer linux, request_irq() works only for 17, 18 & 19. cat /proc/interrupts shows that none of the interrupts above are in use.
> Any pointers on why request_irq() is behaving thus?

Note that you need to get the raw IRQ number from the device tree now,
and map it to a virtual IRQ number using irq_of_parse_and_map.
That is the number you pass to request_irq().

	Arnd <><


More information about the Linuxppc-embedded mailing list