* request_irq() for external interrupt pin on MPC875 (A&M adder MPC 875)
@ 2008-01-28 13:28 Rognlien Dag Kristian
2008-01-28 17:20 ` Scott Wood
0 siblings, 1 reply; 2+ messages in thread
From: Rognlien Dag Kristian @ 2008-01-28 13:28 UTC (permalink / raw)
To: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 540 bytes --]
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?
-
Dag K. W. Rognlien
Research Scientist
SINTEF ICT Communication Systems
[-- Attachment #2: Type: text/html, Size: 2472 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: request_irq() for external interrupt pin on MPC875 (A&M adder MPC 875)
2008-01-28 13:28 request_irq() for external interrupt pin on MPC875 (A&M adder MPC 875) Rognlien Dag Kristian
@ 2008-01-28 17:20 ` Scott Wood
0 siblings, 0 replies; 2+ messages in thread
From: Scott Wood @ 2008-01-28 17:20 UTC (permalink / raw)
To: Rognlien Dag Kristian; +Cc: linuxppc-dev
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-01-28 17:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-28 13:28 request_irq() for external interrupt pin on MPC875 (A&M adder MPC 875) Rognlien Dag Kristian
2008-01-28 17:20 ` Scott Wood
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.