From: Marc Kleine-Budde Date: Wed, 23 Dec 2009 01:27:48 +0000 (+0000) Subject: can/netlink: add CAN_CTRLMODE_ONE_SHOT X-Git-Tag: v2.6.34-rc1~233^2~678 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1c5523dd1517250cac8b15a4acbc237c24a67d4;p=pandora-kernel.git can/netlink: add CAN_CTRLMODE_ONE_SHOT This patch adds the flag CAN_CTRLMODE_ONE_SHOT. It is used as mask or flag in the "struct can_ctrlmode". It allows userspace via netlink to set a CAN controller into the special "one-shot" mode. In this mode, if supported by the CAN controller, it tries only once to deliver a CAN frame and aborts it if an error (e.g.: arbitration lost) happens. Signed-off-by: Marc Kleine-Budde Acked-by: Wolfgang Grandegger Signed-off-by: David S. Miller --- Reading git-diff-tree failed