linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* MPC5200b external interrupt registration problem
@ 2008-05-09 18:49 Nick
  2008-05-09 19:02 ` Scott Wood
  2008-05-12 14:03 ` Grant Likely
  0 siblings, 2 replies; 4+ messages in thread
From: Nick @ 2008-05-09 18:49 UTC (permalink / raw)
  To: linuxppc-dev

Hi,

I am writing a driver to service an interrupt from our fpga.  I am calling request_irq in the open
function of my driver.  The fpga is connected to external interrupt 1.  I am using interrupt
number 65 in the request_irq but the function is failing.  I traced to a function called setup_irq
in file /kernel/irq/manage.c.  It fails because at this line: if (desc->chip == &no_irq_chip) . 
Is 65 the wrong interrupt number?  What do I need to do to properly setup for external interrupts?

Thanks for any help,

Nick

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-05-12 14:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-09 18:49 MPC5200b external interrupt registration problem Nick
2008-05-09 19:02 ` Scott Wood
2008-05-10  7:30   ` Michael Ellerman
2008-05-12 14:03 ` Grant Likely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).