BTRFS: Implement BTree::Path and change _Find.
[haiku.git] / src / apps / devices / config_driver.h
blobbd70f0411baf5ff5d4ad7af8db9b4a2a1774a9be
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 {
17 uint32 magic;
18 bus_type bus;
19 uint64 cookie;
20 void *config;
21 uint32 n;
22 uint32 type;
23 void *data;
24 uint32 data_len;
27 #define CM_DEVICE_NAME "misc/config"
29 #endif