Changeset 85a4350 in mainline for uspace/lib/drv/include/ddf/driver.h
- Timestamp:
- 2012-06-03T15:09:27Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 652b776
- Parents:
- 840e227 (diff), 3123d2a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/ddf/driver.h
r840e227 r85a4350 81 81 */ 82 82 devman_handle_t handle; 83 83 84 /** Reference count */ 84 85 atomic_t refcnt; … … 104 105 /** True if bound to the device manager */ 105 106 bool bound; 107 106 108 /** Function indentifier (asigned by device manager) */ 107 109 devman_handle_t handle; 110 108 111 /** Reference count */ 109 112 atomic_t refcnt; … … 114 117 /** Function type */ 115 118 fun_type_t ftype; 119 116 120 /** Function name */ 117 121 const char *name; 122 118 123 /** List of device ids for driver matching */ 119 124 match_id_list_t match_ids; 125 120 126 /** Driver-specific data associated with this function */ 121 127 void *driver_data; 128 122 129 /** Implementation of operations provided by this function */ 123 130 ddf_dev_ops_t *ops; 131 124 132 /** Connection handler or @c NULL to use the DDF default handler. */ 125 133 async_client_conn_t conn_handler; … … 137 145 /** Callback method for passing a new device to the device driver */ 138 146 int (*dev_add)(ddf_dev_t *); 147 139 148 /** Ask driver to remove a device */ 140 149 int (*dev_remove)(ddf_dev_t *); 150 141 151 /** Inform driver a device disappeared */ 142 152 int (*dev_gone)(ddf_dev_t *); 153 143 154 /** Ask driver to online a specific function */ 144 155 int (*fun_online)(ddf_fun_t *); 156 145 157 /** Ask driver to offline a specific function */ 146 158 int (*fun_offline)(ddf_fun_t *);
Note:
See TracChangeset
for help on using the changeset viewer.