commit | 52c793f24054f5dc30d228e37e0e19cc8313f086 | [log] [tgz] |
---|---|---|
author | Wolfgang Grandegger <wg@grandegger.com> | Mon Feb 22 22:21:17 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Feb 26 01:48:49 2010 -0800 |
tree | b7ebb686f5c2b0d58d05e42cc9d452adf651a83b | |
parent | 78ca90ea995cb86c72cde9308276d2a701bd3c40 [diff] |
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>