Changeset a35b458 in mainline for uspace/lib/drv/generic/private/driver.h
- Timestamp:
- 2018-03-02T20:10:49Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1380b7
- Parents:
- 3061bc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/private/driver.h
r3061bc1 ra35b458 49 49 */ 50 50 devman_handle_t handle; 51 51 52 52 /** Reference count */ 53 53 atomic_t refcnt; 54 54 55 55 /** Session with the parent device driver */ 56 56 async_sess_t *parent_sess; 57 57 58 58 /** Device name */ 59 59 char *name; 60 60 61 61 /** Driver-specific data associated with this device */ 62 62 void *driver_data; 63 63 64 64 /** Link in the list of devices handled by the driver */ 65 65 link_t link; … … 70 70 /** True if bound to the device manager */ 71 71 bool bound; 72 72 73 73 /** Function indentifier (asigned by device manager) */ 74 74 devman_handle_t handle; 75 75 76 76 /** Reference count */ 77 77 atomic_t refcnt; 78 78 79 79 /** Device which this function belogs to */ 80 80 struct ddf_dev *dev; 81 81 82 82 /** Function type */ 83 83 fun_type_t ftype; 84 84 85 85 /** Function name */ 86 86 char *name; 87 87 88 88 /** List of device ids for driver matching */ 89 89 match_id_list_t match_ids; 90 90 91 91 /** Driver-specific data associated with this function */ 92 92 void *driver_data; 93 93 94 94 /** Implementation of operations provided by this function */ 95 95 const ddf_dev_ops_t *ops; 96 96 97 97 /** Connection handler or @c NULL to use the DDF default handler. */ 98 98 async_port_handler_t conn_handler; 99 99 100 100 /** Link in the list of functions handled by the driver */ 101 101 link_t link;
Note:
See TracChangeset
for help on using the changeset viewer.