Changeset c1a0488 in mainline for uspace/srv/devman/devman.h
- Timestamp:
- 2011-09-02T15:58:02Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e2b9b341
- Parents:
- aff587f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/devman.h
raff587f rc1a0488 118 118 } driver_list_t; 119 119 120 /** The state of the device.*/120 /** Device state */ 121 121 typedef enum { 122 122 DEVICE_NOT_INITIALIZED = 0, 123 123 DEVICE_USABLE, 124 124 DEVICE_NOT_PRESENT, 125 DEVICE_INVALID 125 DEVICE_INVALID, 126 /** Device node has been removed from the tree */ 127 DEVICE_REMOVED 126 128 } device_state_t; 127 129 … … 157 159 }; 158 160 161 /** Function state */ 162 typedef enum { 163 FUN_INIT = 0, 164 FUN_OFF_LINE, 165 FUN_ON_LINE, 166 /** Function node has been removed from the tree */ 167 FUN_REMOVED 168 } fun_state_t; 169 159 170 /** Function node in the device tree. */ 160 171 struct fun_node { 161 172 /** Reference count */ 162 173 atomic_t refcnt; 174 /** State */ 175 fun_state_t state; 163 176 164 177 /** The global unique identifier of the function */
Note:
See TracChangeset
for help on using the changeset viewer.