boardctl.h: Extended boardctl() commands with BOARDIOC_CAN_INITIALIZE

This commit is contained in:
Gregory Nutt
2015-08-18 13:23:34 -06:00
parent 28853e5932
commit 02306044b2
4 changed files with 38 additions and 12 deletions
+9 -2
View File
@@ -94,6 +94,12 @@
* CONFIGURATION: CONFIG_LIB_BOARDCTL && CONFIG_BOARDCTL_PWMTEST
* DEPENDENCIES: Board logic must provide board_pwm_setup()
*
* CMD: BOARDIOC_CAN_INITIALIZE
* DESCRIPTION: CAN device initialization
* ARG: None
* CONFIGURATION: CONFIG_LIB_BOARDCTL && CONFIG_BOARDCTL_CANINIT
* DEPENDENCIES: Board logic must provide board_can_initialize()
*
* CMD: BOARDIOC_GRAPHICS_SETUP
* DESCRIPTION: Configure graphics that require special initialization
* procedures
@@ -109,7 +115,8 @@
#define BOARDIOC_TSCTEST_TEARDOWN _BOARDIOC(0x0005)
#define BOARDIOC_ADCTEST_SETUP _BOARDIOC(0x0006)
#define BOARDIOC_PWMTEST_SETUP _BOARDIOC(0x0007)
#define BOARDIOC_GRAPHICS_SETUP _BOARDIOC(0x0008)
#define BOARDIOC_CAN_INITIALIZE _BOARDIOC(0x0008)
#define BOARDIOC_GRAPHICS_SETUP _BOARDIOC(0x0009)
/* If CONFIG_BOARDCTL_IOCTL=y, then boad-specific commands will be support.
* In this case, all commands not recognized by boardctl() will be forwarded
@@ -118,7 +125,7 @@
* User defined board commands may begin with this value:
*/
#define BOARDIOC_USER _BOARDIOC(0x0009)
#define BOARDIOC_USER _BOARDIOC(0x000a)
/****************************************************************************
* Public Type Definitions