diff options
author | Stephane Grosjean | 2015-03-16 11:57:53 +0100 |
---|---|---|
committer | Marc Kleine-Budde | 2015-03-22 18:14:51 +0100 |
commit | 0f251e45c7cbb1a494b5600485ea8ff64f664b3f (patch) | |
tree | 79f79b062d47e3339116f1d7bb0ac21a5f846eb0 /drivers/net/can/usb/peak_usb/pcan_ucan.h | |
parent | can: peak_usb: rename usb option cmds definition and structs (diff) | |
download | kernel-qcow2-linux-0f251e45c7cbb1a494b5600485ea8ff64f664b3f.tar.gz kernel-qcow2-linux-0f251e45c7cbb1a494b5600485ea8ff64f664b3f.tar.xz kernel-qcow2-linux-0f251e45c7cbb1a494b5600485ea8ff64f664b3f.zip |
can: peak_usb_fd: add support for ISO / non-ISO mode switching
The PCAN USB (pro) FD adapters with firmware versions > 2.x support the
switching between ISO (default) and non-ISO conform bitstreams on the CAN bus.
The setting for the 2.x firmware adapters can be modified with the 'ip' tool
from the iproute2 package (option: fd-non-iso [on|off]).
Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Tested-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/usb/peak_usb/pcan_ucan.h')
-rw-r--r-- | drivers/net/can/usb/peak_usb/pcan_ucan.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/can/usb/peak_usb/pcan_ucan.h b/drivers/net/can/usb/peak_usb/pcan_ucan.h index 1fb33307be4e..e8fc4952c6b0 100644 --- a/drivers/net/can/usb/peak_usb/pcan_ucan.h +++ b/drivers/net/can/usb/peak_usb/pcan_ucan.h @@ -104,6 +104,7 @@ struct __packed pucan_wr_err_cnt { /* uCAN SET_EN/CLR_DIS _OPTION command fields */ #define PUCAN_OPTION_ERROR 0x0001 #define PUCAN_OPTION_BUSLOAD 0x0002 +#define PUCAN_OPTION_CANDFDISO 0x0004 struct __packed pucan_options { __le16 opcode_channel; |