linux/drivers/net/can/m_can
Pankaj Sharma 6b43a26508 can: m_can: add support for handling arbitration error
The Bosch MCAN hardware (3.1.0 and above) supports interrupt flag to
detect Protocol error in arbitration phase.

Transmit error statistics is currently not updated from the MCAN driver.
Protocol error in arbitration phase is a TX error and the network
statistics should be updated accordingly.

The member "tx_error" of "struct net_device_stats" should be incremented
as arbitration is a transmit protocol error. Also "arbitration_lost" of
"struct can_device_stats" should be incremented to report arbitration
lost.

Signed-off-by: Pankaj Sharma <pankj.sharma@samsung.com>
Signed-off-by: Sriram Dash <sriram.dash@samsung.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2019-11-11 21:58:09 +01:00
..
Kconfig can: tcan4x5x: Add tcan4x5x driver to the kernel 2019-07-24 10:31:54 +02:00
m_can.c can: m_can: add support for handling arbitration error 2019-11-11 21:58:09 +01:00
m_can.h can: m_can: Rename m_can_priv to m_can_classdev 2019-07-24 10:31:54 +02:00
m_can_platform.c can: m_can_platform: m_can_plat_probe(): add missing error handling if mcan_class is NULL 2019-08-20 13:41:26 +02:00
Makefile can: tcan4x5x: Add tcan4x5x driver to the kernel 2019-07-24 10:31:54 +02:00
tcan4x5x.c can: tcan4x5x: Remove checking the wake pin 2019-09-03 10:23:57 +02:00