aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorStephane Grosjean <[email protected]>2019-12-06 16:38:03 +0100
committerMarc Kleine-Budde <[email protected]>2020-09-21 10:13:18 +0200
commitea8b33bde76c8fcef347b9b9cf15649fe41a5a6e (patch)
tree0485fd99172c4f2e0f71cbaea9f96fa18b8ca6b0 /lib/mpi/mpi-sub-ui.c
parenta8bb19dfab5a6420b07de7720545ac2277febe07 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions