Hi Peter, On 07/09/2010 12:26 PM, Peter Soetens wrote: > Hi, > > (Xenomai 2.5.2&2.5.3) > > I'm testing the rtcan ixxat driver for a dual channel card (PLX > Technology, Inc. Device 2540) > > It recognizes the first channel, but refuses to setup the second one > because the SJA_MOD flag is 0x7f instead of 0x21 > The SJA_IR and SJA_SR flags read as are what the driver expects.
In the Socket-CAN "plx_pci" driver we mask the value with 0xa1: 0x7f & 0xa1 = 0x21 ==> OK. See http://lxr.linux.no/#linux+v2.6.34.1/drivers/net/can/sja1000/plx_pci.c#L223 > Any suggestions on what it means and how to fix this ? See above. A patch would be nice. Wolfgang. _______________________________________________ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help