can: janz-ican3: error handling for CAL/CANopen firmware
authorAndreas Gröger <andreas24groeger@gmail.com>
Fri, 6 May 2016 08:04:37 +0000 (10:04 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 9 May 2016 09:07:28 +0000 (11:07 +0200)
commitb16e368ed6193d8d1774b4cc874d7892d55c4780
tree44ac40c4a84432521612c7ca648e9f806de0dcc4
parentbb208f144cf3f59d8f89a09a80efd04389718907
can: janz-ican3: error handling for CAL/CANopen firmware

My patch of May 2015 was missing the changed handling of error
indications. With CAL/CANopen firmware the NMTS-SlaveEventIndication
must be used instead of CAN-EventIndication. An appropriate slave node
must be configured to report the errors.

In our department (about 15 development systems with Janz ICAN3-
modules with firmware 1.48, my system also with firmware ICANOS 1.35)
we use the driver with this patch for about one year: no known problems.

Signed-off-by: Andreas Gröger <andreas24groeger@gmail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/janz-ican3.c