Changeset 8565a42 in mainline for uspace/lib/drv/include/ddf/driver.h
- Timestamp:
- 2018-03-02T20:34:50Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a1a81f69, d5e5fd1
- Parents:
- 3061bc1 (diff), 34e1206 (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. - git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
- git-committer:
- GitHub <noreply@…> (2018-03-02 20:34:50)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/ddf/driver.h
r3061bc1 r8565a42 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.