1*4882a593SmuzhiyunWhat: /sys/devices/platform/at91_can/net/<iface>/mb0_id 2*4882a593SmuzhiyunDate: January 2011 3*4882a593SmuzhiyunKernelVersion: 2.6.38 4*4882a593SmuzhiyunContact: Marc Kleine-Budde <kernel@pengutronix.de> 5*4882a593SmuzhiyunDescription: 6*4882a593Smuzhiyun Value representing the can_id of mailbox 0. 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun Default: 0x7ff (standard frame) 9*4882a593Smuzhiyun 10*4882a593Smuzhiyun Due to a chip bug (errata 50.2.6.3 & 50.3.5.3 in 11*4882a593Smuzhiyun "AT91SAM9263 Preliminary 6249H-ATARM-27-Jul-09") the 12*4882a593Smuzhiyun contents of mailbox 0 may be send under certain 13*4882a593Smuzhiyun conditions (even if disabled or in rx mode). 14*4882a593Smuzhiyun 15*4882a593Smuzhiyun The workaround in the errata suggests not to use the 16*4882a593Smuzhiyun mailbox and load it with an unused identifier. 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun In order to use an extended can_id add the 19*4882a593Smuzhiyun CAN_EFF_FLAG (0x80000000U) to the can_id. Example: 20*4882a593Smuzhiyun 21*4882a593Smuzhiyun - standard id 0x7ff:: 22*4882a593Smuzhiyun 23*4882a593Smuzhiyun echo 0x7ff > /sys/class/net/can0/mb0_id 24*4882a593Smuzhiyun 25*4882a593Smuzhiyun - extended id 0x1fffffff:: 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun echo 0x9fffffff > /sys/class/net/can0/mb0_id 28