summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorOliver Hartkopp <socketcan@hartkopp.net>2014-02-28 16:36:23 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2014-03-07 09:18:22 +0100
commit9859ccd2c8be63ce939522e63e265f2b0caa1109 (patch)
treeaae08f7351b66eb224ce7b48763569d6189e3c7b /include/uapi
parentcan: provide a separate bittiming_const parameter to bittiming functions (diff)
downloadlinux-9859ccd2c8be63ce939522e63e265f2b0caa1109.tar.xz
linux-9859ccd2c8be63ce939522e63e265f2b0caa1109.zip
can: introduce the data bitrate configuration for CAN FD
As CAN FD offers a second bitrate for the data section of the CAN frame the infrastructure for storing and configuring this second bitrate is introduced. Improved the readability of the if-statement by inserting some newlines. Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net> Acked-by: Stephane Grosjean <s.grosjean@peak-system.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/can/netlink.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/can/netlink.h b/include/uapi/linux/can/netlink.h
index df944ed206a8..b41933d6bdcd 100644
--- a/include/uapi/linux/can/netlink.h
+++ b/include/uapi/linux/can/netlink.h
@@ -122,6 +122,8 @@ enum {
IFLA_CAN_RESTART_MS,
IFLA_CAN_RESTART,
IFLA_CAN_BERR_COUNTER,
+ IFLA_CAN_DATA_BITTIMING,
+ IFLA_CAN_DATA_BITTIMING_CONST,
__IFLA_CAN_MAX
};