[Xenomai-core] Re: CAN updates questions

2006-09-09 Thread Wolfgang Grandegger
Jan Kiszka wrote: Hi Wolfgang, as one result of a hacking session on a PPC405 with SJA1000 on board I applied two minor fixes to rtcan_isa.c to SVN, see end of mail for reference. The first one gave an interesting effect on big-endian because irq is an integer, the second one reveals that we

Re: [Xenomai-core] Re: CAN updates questions

2006-09-09 Thread Matthias Fuchs
Hi Wolfgang, Wolfgang Grandegger wrote: You have to define the real CAN system clock, which is 16/2 = 8 Mhz for most SJA 1000 hardware even if the oscillator is running at 16 MHz. I will add some reasonable note to rtcan_dev.h Is there any special reason for this? Wouldn't it be more

Re: [Xenomai-core] Re: CAN updates questions

2006-09-09 Thread Wolfgang Grandegger
Wolfgang Grandegger wrote: Hi Matthias, Matthias Fuchs wrote: Hi Wolfgang, Wolfgang Grandegger wrote: You have to define the real CAN system clock, which is 16/2 = 8 Mhz for most SJA 1000 hardware even if the oscillator is running at 16 MHz. I will add some reasonable note to rtcan_dev.h Is