1 #ifndef _CONFIG_MANAGER_DRIVER_H_
2 #define _CONFIG_MANAGER_DRIVER_H_
4 /* the magic is the ioctl */
6 #define CM_GET_NEXT_DEVICE_INFO 'GNDI'
7 #define CM_GET_DEVICE_INFO_FOR 'GDIF'
8 #define CM_GET_SIZE_OF_CURRENT_CONFIGURATION_FOR 'GSCC'
9 #define CM_GET_CURRENT_CONFIGURATION_FOR 'GCCF'
10 #define CM_GET_SIZE_OF_POSSIBLE_CONFIGURATIONS_FOR 'GSPC'
11 #define CM_GET_POSSIBLE_CONFIGURATIONS_FOR 'GPCF'
13 #define CM_COUNT_RESOURCE_DESCRIPTORS_OF_TYPE 'CRDT'
14 #define CM_GET_NTH_RESOURCE_DESCRIPTOR_OF_TYPE 'GNRD'
16 struct cm_ioctl_data
{
27 #define CM_DEVICE_NAME "misc/config"