Thread (1 message) 1 message, 1 author, 2006-07-07

RE: SIU_INT_IRQ4 in MPC 8260

From: Li Yang-r58472 <hidden>
Date: 2006-07-07 09:29:37

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@aim.com [mailto:jagannathanjay@aim.com]
Sent: Friday, July 07, 2006 5:24 PM
To: Li Yang-r58472
Subject: Re: SIU_INT_IRQ4 in MPC 8260
=20
No I haven't measured the IRQ4 line
=20
I am newbie into MPC8260 .
=20
Can u guide me as to what way I should proceed to get my interrupt
handler working?
=20
Regards
Jagan
=20
=20
=20
-----Original Message-----
From: Li Yang-r58472 <redacted>
To: jagannathanjay@aim.com; linuxppc-embedded@ozlabs.org
Sent: Fri, 7 Jul 2006 17:18:54 +0800
Subject: RE: SIU_INT_IRQ4 in MPC 8260
=20
   Are you sure the IRQ4 line is generating irqs?  Did you measure the
line
using an oscilloscope?
=20
Best Regards,
Leo
quoted
-----Original Message-----
From: linuxppc-embedded-bounces+leoli=3Dfreescale.com@ozlabs.org
[mailto:linuxppc-embedded-bounces+leoli=3Dfreescale.com@ozlabs.org] =
On
Behalf
quoted
Of jagannathanjay@aim.com
Sent: Friday, July 07, 2006 5:05 PM
To: linuxppc-embedded@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.
quoted
The OS is Embedded Linux .
------------------------------------------------------------------------
-
quoted
------------
void my_interrupt_handler(int irq, void *dev_id, struct pt_regs
*regs)
quoted
{

 printk("***********
");
quoted
}


 if( request_irq(SIU_INT_IRQ4,my_interrupt_handler,0,0,0) < 0)
 {
     printk("
 unable to register the interrupt handler
");
quoted
 }
------------------------------------------------------------------------
-
quoted
------------

But my_interrupt_handler isn't getting called .

Can anyone help me to fix this problem

Regards
Jagan




________________________________________________________________________
quoted
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@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
=20
=20
________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and
industry-leading spam and email virus protection.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help