request_irq() for external interrupt pin on MPC875 (A&M adder MPC 875)
Scott Wood
scottwood at freescale.com
Tue Jan 29 04:20:04 EST 2008
Rognlien Dag Kristian wrote:
> With kernel 2.6.13 we used
>
> request_irq (use_irq, irq_handler, SA_INTERRUPT|SA_SHIRQ, DEVICE_NAME, dev)
>
> where use_irq is 12 to use the external IRQ6 pin.
>
> We are now trying to get this driver to work with the 2.6.25 pull from
> powerpc.git.
>
> request_irq (use_irq, irq_handler, IRQF_SHARED, DEVICE_NAME, dev);
>
> returns -ENOSYS on the newer kernel.
>
> Have the IRQ mappings for the external IRQX pins been moved in the later
> kernels?
Yes, you need to use the result of irq_create_mapping() or
irq_of_parse_and_map().
-Scott
More information about the Linuxppc-dev
mailing list