hc
2024-05-10 748e4f3d702def1a4bff191e0cf93b6a05340f01
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 */