Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
28 lines
811 B
Plaintext
28 lines
811 B
Plaintext
What: /sys/devices/platform/at91_can/net/<iface>/mb0_id
|
|
Date: January 2011
|
|
KernelVersion: 2.6.38
|
|
Contact: Marc Kleine-Budde <kernel@pengutronix.de>
|
|
Description:
|
|
Value representing the can_id of mailbox 0.
|
|
|
|
Default: 0x7ff (standard frame)
|
|
|
|
Due to a chip bug (errata 50.2.6.3 & 50.3.5.3 in
|
|
"AT91SAM9263 Preliminary 6249H-ATARM-27-Jul-09") the
|
|
contents of mailbox 0 may be send under certain
|
|
conditions (even if disabled or in rx mode).
|
|
|
|
The workaround in the errata suggests not to use the
|
|
mailbox and load it with an unused identifier.
|
|
|
|
In order to use an extended can_id add the
|
|
CAN_EFF_FLAG (0x80000000U) to the can_id. Example:
|
|
|
|
- standard id 0x7ff::
|
|
|
|
echo 0x7ff > /sys/class/net/can0/mb0_id
|
|
|
|
- extended id 0x1fffffff::
|
|
|
|
echo 0x9fffffff > /sys/class/net/can0/mb0_id
|