83xx: requesting external interrupts

2 messages, 2 authors, 2007-05-10 · open the first message on its own page

83xx: requesting external interrupts

From: Alex Zeffertt <hidden>
Date: 2007-05-10 16:45:22

Hi list,

I'm trying to port a driver from 2.6.11 to 2.6.21 and I'm stuck on the following line:

	request_irq(MPC83xx_IRQ_EXT5, mpc832xemds_phy_interrupt, SA_SHIRQ, "pm5384", dev);

The first problem is that MPC83xx_IRQ_EXT5 is no longer defined.  If I hard code this to
what I think is the right value (i.e. 21) then request_irq fails on insmod.

I obviously need to do something different now that ARCH=powerpc, but I can't find any
examples of code which requests 83xx external interrupts.  Can anybody help?

TIA,

Alex

Re: 83xx: requesting external interrupts

From: Ben Warren <hidden>
Date: 2007-05-10 17:14:10

Alex,

Follow this thread...
http://marc.info/?l=linuxppc-embedded&m=116849062702002&w=2

On Thu, 2007-05-10 at 17:45 +0100, Alex Zeffertt wrote:
Hi list,

I'm trying to port a driver from 2.6.11 to 2.6.21 and I'm stuck on the following line:

	request_irq(MPC83xx_IRQ_EXT5, mpc832xemds_phy_interrupt, SA_SHIRQ, "pm5384", dev);

The first problem is that MPC83xx_IRQ_EXT5 is no longer defined.  If I hard code this to
what I think is the right value (i.e. 21) then request_irq fails on insmod.

I obviously need to do something different now that ARCH=powerpc, but I can't find any
examples of code which requests 83xx external interrupts.  Can anybody help?

TIA,

Alex
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help