Changes in uspace/lib/drv/include/ddf/driver.h [0c0f823b:609243f4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/ddf/driver.h
r0c0f823b r609243f4 136 136 typedef struct driver_ops { 137 137 /** Callback method for passing a new device to the device driver */ 138 int (*dev_add)(ddf_dev_t *); 138 int (*add_device)(ddf_dev_t *); 139 /** 140 * Notification that the device was succesfully added. 141 * The driver can do any blocking operation without 142 * blocking the device manager. 143 */ 144 void (*device_added)(ddf_dev_t *dev); 139 145 /** Ask driver to remove a device */ 140 146 int (*dev_remove)(ddf_dev_t *); … … 145 151 /** Ask driver to offline a specific function */ 146 152 int (*fun_offline)(ddf_fun_t *); 147 148 /**149 * Notification that the device was succesfully added.150 * The driver can do any blocking operation without151 * blocking the device manager.152 *153 * XXX REMOVE THIS154 */155 void (*device_added)(ddf_dev_t *dev);156 153 } driver_ops_t; 157 154
Note:
See TracChangeset
for help on using the changeset viewer.