Changeset 084ff99 in mainline for uspace/lib/libdrv/include/driver.h
- Timestamp:
- 2010-03-14T09:14:50Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7707954
- Parents:
- 67ba309
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libdrv/include/driver.h
r67ba309 r084ff99 32 32 /** @file 33 33 */ 34 35 34 #ifndef LIBDRV_DRIVER_H_ 36 35 #define LIBDRV_DRIVER_H_ 37 36 38 typedef enum { 39 DRIVER_DEVMAN = 1, 40 DRIVER_CLIENT, 41 DRIVER_DRIVER 42 } driver_interface_t; 37 38 #include <adt/list.h> 39 40 43 41 44 42 typedef struct device { 45 int parent_handle;43 long handle; 46 44 ipcarg_t parent_phone; 45 47 46 // TODO add more items - parent bus type etc. 48 int handle; 47 48 link_t link; 49 49 } device_t; 50 50
Note:
See TracChangeset
for help on using the changeset viewer.