Unable to capture device interrupts on ppc440gx?
sbajaj at tsi-telsys.com
Tue Apr 19 03:02:08 EST 2005
That did help. I was using the Interrupt Line D, whereas hardware is generating interrupt on Interrupt Line A. Correcting the IRQ number to the one specified in the arch/platforms file captured the interrupt in the device driver.
Thanks for the help.
Have a nice day.
From: Eugene Surovegin [mailto:ebs at ebshome.net]
Sent: Monday, April 18, 2005 12:14 PM
To: Sanjay Bajaj
Cc: linuxppc-embedded at ozlabs.org
Subject: Re: Unable to capture device interrupts on ppc440gx?
On Mon, Apr 18, 2005 at 12:02:52PM -0400, Sanjay Bajaj wrote:
> In the device driver open function, I call request_irq() to register
> my interrupt handler function to a specified IRQ number. It
> But when I enable the interrupt (and we can detect the hardware line
> is active) on the hardware, the interrupt handler in NOT invoked. Is
> there something I am missing? Any help or pointers are appreciated.
Did you configure polarity and triggering settings for this IRQ
source? If not, look for example at ebony.c (ppc4xx_uic_ext_irq_cfg)
keeping in mind, that Ebony has 440GP CPU. 440GX has 5 additional
More information about the Linuxppc-embedded