1
0
Fork 0
forked from nuttx/nuttx-update

Modify SIOCGCANSTATE/ SIOCSCANSTATE ioctl num

Notes:
Duplicate with other ioctl numbers

Signed-off-by: wangxiaoxin <wangxiaoxin@xiaomi.com>
This commit is contained in:
wangxiaoxin 2024-08-05 10:03:49 +08:00 committed by Xiang Xiao
parent 983f263ea6
commit 8c36784aba

View file

@ -125,8 +125,8 @@
#define SIOCACANSTDFILTER _SIOC(0x0030) /* Add hardware-level standard ID filter */
#define SIOCDCANSTDFILTER _SIOC(0x0031) /* Delete hardware-level standard ID filter */
#define SIOCCANRECOVERY _SIOC(0x0032) /* Recovery can, work only when bus-off state */
#define SIOCGCANSTATE _SIOC(0x003E) /* Get state from a CAN/LIN controller */
#define SIOCSCANSTATE _SIOC(0x003F) /* Set the LIN/CAN controller state */
#define SIOCGCANSTATE _SIOC(0x0041) /* Get state from a CAN/LIN controller */
#define SIOCSCANSTATE _SIOC(0x0042) /* Set the LIN/CAN controller state */
/* Network socket control ***************************************************/