can: netlink support for bus-error reporting and counters
This patch makes the bus-error reporting configurable and allows to retrieve the CAN TX and RX bus error counters via netlink interface. I have added support for the SJA1000. The TX and RX bus error counters are also copied to the data fields 6..7 of error messages when state changes are reported. Signed-off-by:Wolfgang Grandegger <wg@grandegger.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/can/dev.c 6 additions, 0 deletionsdrivers/net/can/dev.c
- drivers/net/can/sja1000/sja1000.c 22 additions, 3 deletionsdrivers/net/can/sja1000/sja1000.c
- include/linux/can/dev.h 2 additions, 0 deletionsinclude/linux/can/dev.h
- include/linux/can/netlink.h 14 additions, 4 deletionsinclude/linux/can/netlink.h
Loading
Please register or sign in to comment