aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorGravatar Stephane Grosjean <s.grosjean@peak-system.com> 2019-12-06 16:38:03 +0100
committerGravatar Marc Kleine-Budde <mkl@pengutronix.de> 2020-09-21 10:13:18 +0200
commitea8b33bde76c8fcef347b9b9cf15649fe41a5a6e (patch)
tree0485fd99172c4f2e0f71cbaea9f96fa18b8ca6b0 /kernel
parentcan: pcan_usb: Document the commands sent to the device (diff)
downloadlinux-ea8b33bde76c8fcef347b9b9cf15649fe41a5a6e.tar.gz
linux-ea8b33bde76c8fcef347b9b9cf15649fe41a5a6e.tar.bz2
linux-ea8b33bde76c8fcef347b9b9cf15649fe41a5a6e.zip
can: pcan_usb: add support of rxerr/txerr counters
This patch adds the support of the rx/tx errors CAN counters to the driver of the PCAN-USB PC-CAN interface from PEAK-System GmbH. The PCAN-USB is capable of giving back the values of the rx/tx errors counters, to provide more details and statistics to the linux-can layer. Getting these values allows the driver to better tune CAN_ERR_CRTL_TX_xxx and CAN_ERR_CRTL_RX_xxx bits in case of the interface enters any CAN_STATE_ERROR_xxx state. Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com> Link: https://lore.kernel.org/r/20191206153803.17725-3-s.grosjean@peak-system.com Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions