Skip to content
Commit dcf9e152 authored by Nikita Edward Baruzdin's avatar Nikita Edward Baruzdin Committed by Marc Kleine-Budde
Browse files

can: sja1000: Add support for CAN_CTRLMODE_LOOPBACK



This adds support for hardware loopback in SJA1000 by utilising its self
reception request (SRR) feature. Upon SRR the message is transmitted and
received simultaneously, meaning you can't have hardware loopback
without actually sending a message to the CAN bus in case of SJA1000.

Signed-off-by: default avatarNikita Edward Baruzdin <nebaruzdin@gmail.com>
Acked-by: default avatarOliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 4b9e1bab
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment