]> git.baikalelectronics.ru Git - kernel.git/commit
can: peak_usb_fd: add support for ISO / non-ISO mode switching
authorStephane Grosjean <s.grosjean@peak-system.com>
Mon, 16 Mar 2015 10:57:53 +0000 (11:57 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sun, 22 Mar 2015 17:14:51 +0000 (18:14 +0100)
commitf94d472016d45068a8bf498fd79b3293a85725c3
tree79f79b062d47e3339116f1d7bb0ac21a5f846eb0
parent5b9932875994f10e9fb3e8ce228d6f313c03a7a3
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>
drivers/net/can/usb/peak_usb/pcan_ucan.h
drivers/net/can/usb/peak_usb/pcan_usb_fd.c