]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita01a89dd5309551879f58c79ab87b0e423168b09
tree44ac40c4a84432521612c7ca648e9f806de0dcc4
parent7729a8fa5f43973de27299566f32e278906ee2fe
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