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)
commit0f251e45c7cbb1a494b5600485ea8ff64f664b3f
tree79f79b062d47e3339116f1d7bb0ac21a5f846eb0
parent3ef5247e033972ddbd16f65ec2ad8a7dfc2e4170
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