]> git.openfabrics.org - ~emulex/infiniband.git/commit
can: janz-ican3: add support for one shot mode
authorIra W. Snyder <iws@ovro.caltech.edu>
Wed, 18 Jul 2012 22:33:18 +0000 (15:33 -0700)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 20 Jul 2012 15:49:05 +0000 (17:49 +0200)
commit3b5c6b9e49f78f07ebcd34b38c1185e57a0fd9eb
tree8b15fe983e725690a0ed49a98e5b5816ded49459
parent30df5888e4a244093c1b403b55ef889c97824f7b
can: janz-ican3: add support for one shot mode

The Janz VMOD-ICAN3 hardware has support for one shot packet
transmission. This means that a packet will be attempted to be sent
once, with no automatic retries.

The SocketCAN core has a controller-wide setting for this mode:
CAN_CTRLMODE_ONE_SHOT. The Janz VMOD-ICAN3 hardware supports this flag
on a per-packet level, but the SocketCAN core does not.

Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/janz-ican3.c