Changeset 51f033ce in mainline
- Timestamp:
- 2011-10-12T18:48:24Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 940f576
- Parents:
- 9636bad
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/src/devdrv.c
r9636bad r51f033ce 127 127 return EOK; 128 128 } 129 130 /** Callback when new device is supposed to be controlled by this driver.131 * 132 * This callback is a wrapper for USB specific version of @c add_device.129 /*----------------------------------------------------------------------------*/ 130 /** Callback when a new device is supposed to be controlled by this driver. 131 * 132 * This callback is a wrapper for USB specific version of @c device_add. 133 133 * 134 134 * @param gen_dev Device structure as prepared by DDF. … … 156 156 } 157 157 /*----------------------------------------------------------------------------*/ 158 /** Callback when a device is supposed to be removed from the system. 159 * 160 * This callback is a wrapper for USB specific version of @c device_remove. 161 * 162 * @param gen_dev Device structure as prepared by DDF. 163 * @return Error code. 164 */ 158 165 int generic_device_remove(ddf_dev_t *gen_dev) 159 166 { … … 166 173 } 167 174 /*----------------------------------------------------------------------------*/ 175 /** Callback when a device was removed from the system. 176 * 177 * This callback is a wrapper for USB specific version of @c device_gone. 178 * 179 * @param gen_dev Device structure as prepared by DDF. 180 * @return Error code. 181 */ 168 182 int generic_device_gone(ddf_dev_t *gen_dev) 169 183 {
Note:
See TracChangeset
for help on using the changeset viewer.