hc
2023-12-11 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4
kernel/include/uapi/linux/can/error.h
....@@ -1,4 +1,4 @@
1
-/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
1
+/* SPDX-License-Identifier: ((GPL-2.0-only WITH Linux-syscall-note) OR BSD-3-Clause) */
22 /*
33 * linux/can/error.h
44 *
....@@ -120,6 +120,9 @@
120120 #define CAN_ERR_TRX_CANL_SHORT_TO_GND 0x70 /* 0111 0000 */
121121 #define CAN_ERR_TRX_CANL_SHORT_TO_CANH 0x80 /* 1000 0000 */
122122
123
-/* controller specific additional information / data[5..7] */
123
+/* data[5] is reserved (do not use) */
124
+
125
+/* TX error counter / data[6] */
126
+/* RX error counter / data[7] */
124127
125128 #endif /* _UAPI_CAN_ERROR_H */