Changeset df747b9c in mainline for uspace/srv/devman/devman.h
- Timestamp:
- 2010-04-23T11:30:25Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5af21c5
- Parents:
- a78fa2a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/devman.h
ra78fa2a rdf747b9c 93 93 } driver_list_t; 94 94 95 /** The state of the device. */ 96 typedef enum { 97 DEVICE_NOT_INITIALIZED = 0, 98 DEVICE_USABLE, 99 DEVICE_NOT_PRESENT, 100 DEVICE_INVALID 101 } device_state_t; 102 95 103 /** Representation of a node in the device tree.*/ 96 104 struct node { … … 113 121 /** Driver of this device.*/ 114 122 driver_t *drv; 123 /** The state of the device. */ 124 device_state_t state; 115 125 /** Pointer to the previous and next device in the list of devices 116 126 owned by one driver */
Note:
See TracChangeset
for help on using the changeset viewer.