Changeset 51f033ce in mainline


Ignore:
Timestamp:
2011-10-12T18:48:24Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
940f576
Parents:
9636bad
Message:

libusbdev: Comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/src/devdrv.c

    r9636bad r51f033ce  
    127127        return EOK;
    128128}
    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.
    133133 *
    134134 * @param gen_dev Device structure as prepared by DDF.
     
    156156}
    157157/*----------------------------------------------------------------------------*/
     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 */
    158165int generic_device_remove(ddf_dev_t *gen_dev)
    159166{
     
    166173}
    167174/*----------------------------------------------------------------------------*/
     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 */
    168182int generic_device_gone(ddf_dev_t *gen_dev)
    169183{
Note: See TracChangeset for help on using the changeset viewer.