SIU_INT_IRQ4 in MPC 8260

Li Yang-r58472 LeoLi at freescale.com
Fri Jul 7 19:31:57 EST 2006


Interrupt is signal sending from external devices to CPU notifying
something has happened.  So if you want your interrupt handler be
called, first you have to make sure the device does send such signals.

Best Regards,
Leo
> -----Original Message-----
> From: jagannathanjay at aim.com [mailto:jagannathanjay at aim.com]
> Sent: Friday, July 07, 2006 5:24 PM
> To: Li Yang-r58472
> Subject: Re: SIU_INT_IRQ4 in MPC 8260
> 
> No I haven't measured the IRQ4 line
> 
> I am newbie into MPC8260 .
> 
> Can u guide me as to what way I should proceed to get my interrupt
> handler working?
> 
> Regards
> Jagan
> 
> 
> 
> -----Original Message-----
> From: Li Yang-r58472 <LeoLi at freescale.com>
> To: jagannathanjay at aim.com; linuxppc-embedded at ozlabs.org
> Sent: Fri, 7 Jul 2006 17:18:54 +0800
> Subject: RE: SIU_INT_IRQ4 in MPC 8260
> 
>    Are you sure the IRQ4 line is generating irqs?  Did you measure the
> line
> using an oscilloscope?
> 
> Best Regards,
> Leo
> > -----Original Message-----
> > From: linuxppc-embedded-bounces+leoli=freescale.com at ozlabs.org
> > [mailto:linuxppc-embedded-bounces+leoli=freescale.com at ozlabs.org] On
> Behalf
> > Of jagannathanjay at aim.com
> > Sent: Friday, July 07, 2006 5:05 PM
> > To: linuxppc-embedded at ozlabs.org
> > Subject: SIU_INT_IRQ4 in MPC 8260
> >
> > Hi all
> >
> > I am trying to set up a interrupt handler for SIU_INT_IRQ4.
> >
> > The target I am using is MPC 8260 , emmbedded planet Evaluation
board.
> >
> > The OS is Embedded Linux .
> >
>
------------------------------------------------------------------------
> -
> > ------------
> > void my_interrupt_handler(int irq, void *dev_id, struct pt_regs
*regs)
> > {
> >
> >  printk("***********
> ");
> >
> > }
> >
> >
> >  if( request_irq(SIU_INT_IRQ4,my_interrupt_handler,0,0,0) < 0)
> >  {
> >      printk("
>  unable to register the interrupt handler
> ");
> >  }
> >
> >
>
------------------------------------------------------------------------
> -
> > ------------
> >
> > But my_interrupt_handler isn't getting called .
> >
> > Can anyone help me to fix this problem
> >
> > Regards
> > Jagan
> >
> >
> >
> >
> >
> >
>
________________________________________________________________________
> > Check Out the new free AIM(R) Mail -- 2 GB of storage and
> > industry-leading spam and email virus protection.
> >
> > _______________________________________________
> > Linuxppc-embedded mailing list
> > Linuxppc-embedded at ozlabs.org
> > https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> 
> 
>
________________________________________________________________________
> Check Out the new free AIM(R) Mail -- 2 GB of storage and
> industry-leading spam and email virus protection.



More information about the Linuxppc-embedded mailing list