> On Tue, 16 May 2006 [EMAIL PROTECTED] wrote:
> > I don't know your hardware, but i think it's a not a hardware problem.
> > Your desctription sounds more than a compiler optimization problem.
> >
> > Ok, this is your READ_REG definition,
> >
> >  /** Read access to a register of the SJA1000 CAN controller */
> > #define READ_REG(base, register) \
> >     readb((void *)(base+register))
> >
> > please try this one:
> >
> >  /** Read access to a register of the SJA1000 CAN controller */
> > #define READ_REG(base, register) \
> >     readb((volatile void *)(base+register))
>
> But I am desperate enough to try this one out. (That means mailing your
> suggestion to the person who owns the Advantech CAN card; developing a
> driver without the possibility to test it is really difficult.)

OK, i got the results. As I expected the patch above does not make any 
difference.


Sebastian

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

Reply via email to