Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/devices/platform/at91_can/net/<iface>/mb0_id
0002 Date:           January 2011
0003 KernelVersion:  2.6.38
0004 Contact:        Marc Kleine-Budde <kernel@pengutronix.de>
0005 Description:
0006                 Value representing the can_id of mailbox 0.
0007 
0008                 Default: 0x7ff (standard frame)
0009 
0010                 Due to a chip bug (errata 50.2.6.3 & 50.3.5.3 in
0011                 "AT91SAM9263 Preliminary 6249H-ATARM-27-Jul-09") the
0012                 contents of mailbox 0 may be send under certain
0013                 conditions (even if disabled or in rx mode).
0014 
0015                 The workaround in the errata suggests not to use the
0016                 mailbox and load it with an unused identifier.
0017 
0018                 In order to use an extended can_id add the
0019                 CAN_EFF_FLAG (0x80000000U) to the can_id. Example:
0020 
0021                 - standard id 0x7ff::
0022 
0023                     echo 0x7ff      > /sys/class/net/can0/mb0_id
0024 
0025                 - extended id 0x1fffffff::
0026 
0027                     echo 0x9fffffff > /sys/class/net/can0/mb0_id