Interrupt Problem
Usman S. Ansari
uansari at yahoo.com
Fri Aug 9 16:50:30 CEST 2002
Following the suggestion of Wolfgang, I removed all the intenses of CPM_INTERRUPT pointing to
SIU_IRQ2, but still get the same message.
Any suggestions ?
Usman
--- Wolfgang Grandegger <wolfgang.grandegger at bluewin.ch> wrote:
> On 08/01/2002 11:17 PM, Usman S. Ansari wrote:
> >
> >if (rt_request_global_irq(SIU_IRQ2, (void *) one_sec_intr) != 0)
> > return(-EIO);
> >rt_enable_irq(SIU_IRQ2);
> >
> >My handler is not invoked but, I start seeing
> >
> >timebase_interrupt()
> >
> >message, which is comming from Linux.
> >
> >Do I need to do something special to run handler for SIU_IRQ2 ?
> >
> I just realized, that this interrupt is already assigned to the
> CPM Interrupt, which calls a secondary interrupt handler.
> Have a look to linux/include/asm-ppc/irq.h.
>
> I think the macro definition CPM_INTERRUPT can be changed
> (as other boards do, see for example spd8xx.h).
>
> Wolfgang.
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
More information about the Rtai
mailing list