Move primary cache code to libminixfs.
[minix.git] / servers / devman / devinfo.h
blob3ead931d3dbcd1ca41365fa55c60d0a0680ea552
1 #ifndef DEVMAN_DEVINFO_H
2 #define DEVMAN_DEVINFO_H 1
5 struct devman_dev {
6 int dev_id;
7 int parent_dev_id;
8 char *name;
9 char *subsys;
10 void *data;
11 TAILQ_HEAD(static_attribute_head, devman_static_attribute) attrs;
14 struct devman_static_attribute {
15 char *name;
16 char *data;
17 TAILQ_ENTRY(devman_static_attribute) list;
20 /* used for serializing */
21 struct devman_device_info {
22 int count;
23 int parent_dev_id;
24 unsigned name_offset;
25 unsigned subsystem_offset;
28 struct devman_device_info_entry {
29 unsigned type;
30 unsigned name_offset;
31 unsigned data_offset;
32 unsigned req_nr;
35 #endif