On Monday 11 September 2006 17:46, Wolfgang Grandegger wrote:
> > 
> > A possible explanation is that configurations only using the timer IRQ
> > are not affected, since the decrementer is not subject to this issue
> > (the tick handler returns XN_ISR_NOENABLE anyway).
> 
> I run RT-Socket-CAN on a CAN PCI Card on my MPC5200 without any 
> problems, so far (under Linux 2.4). Here the end function of the PIC:
> 
>    static void
>    mpc5xxx_ic_end(unsigned int irq)
>    {
>          if (!(irq_desc[irq].status & (IRQ_DISABLED | IRQ_INPROGRESS)))
>                  mpc5xxx_ic_enable(irq);
>    }
> 
> Matthias, have you printed out the value of status? I'm just curious.
> 
> Wolfgang.

Here it comes:
bash-3.00# ./bin/rtcansend rtcan0 -i 0 1 2 3 4
_end: status=00000042
bash-3.00# ./bin/rtcansend rtcan0 -i 0 1 2 3 4
_end: status=00000042
bash-3.00# ./bin/rtcansend rtcan0 -i 0 1 2 3 4
_end: status=00000042

So it's IRQ_DISABLED (=2).

Matthias

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to