Changes in uspace/lib/drv/include/ddf/driver.h [5a6cc679:a35b458] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/ddf/driver.h
r5a6cc679 ra35b458 57 57 */ 58 58 errno_t (*open)(ddf_fun_t *); 59 59 60 60 /** 61 61 * Optional callback function called when a client is disconnecting from … … 63 63 */ 64 64 void (*close)(ddf_fun_t *); 65 65 66 66 /** The table of standard interfaces implemented by the device. */ 67 67 void *interfaces[DEV_IFACE_COUNT]; 68 68 69 69 /** 70 70 * The default handler of remote client requests. If the client's remote … … 89 89 /** Callback method for passing a new device to the device driver */ 90 90 errno_t (*dev_add)(ddf_dev_t *); 91 91 92 92 /** Ask driver to remove a device */ 93 93 errno_t (*dev_remove)(ddf_dev_t *); 94 94 95 95 /** Inform driver a device disappeared */ 96 96 errno_t (*dev_gone)(ddf_dev_t *); 97 97 98 98 /** Ask driver to online a specific function */ 99 99 errno_t (*fun_online)(ddf_fun_t *); 100 100 101 101 /** Ask driver to offline a specific function */ 102 102 errno_t (*fun_offline)(ddf_fun_t *);
Note:
See TracChangeset
for help on using the changeset viewer.