Changeset a35b458 in mainline for uspace/lib/drv/include/ddf/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/include/ddf/driver.h
r3061bc1 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.