SocketCAN: add CAN error definitions

This commit is contained in:
raiden00pl
2022-01-05 10:11:16 +01:00
committed by Xiang Xiao
parent 09ae15755e
commit a8ca1ec026
2 changed files with 89 additions and 1 deletions
+11
View File
@@ -26,6 +26,10 @@ config NET_CAN_HAVE_CANFD
bool
default n
config NET_CAN_HAVE_ERRORS
bool
default n
config CAN_CONNS
int "Number of CAN connections"
default 4
@@ -39,6 +43,13 @@ config NET_CAN_CANFD
---help---
Enable CAN FD support in SocketCAN stack
config NET_CAN_ERRORS
bool "Enable CAN errors support"
default n
depends on NET_CAN_HAVE_ERRORS
---help---
Enable CAN errors support in SocketCAN stack
config NET_CAN_SOCK_OPTS
bool "sockopt support"
default n