Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/include/ddf/driver.h

    r77a69ea r609243f4  
    136136typedef struct driver_ops {
    137137        /** Callback method for passing a new device to the device driver */
    138         int (*dev_add)(ddf_dev_t *);
     138        int (*add_device)(ddf_dev_t *);
     139        /**
     140         * Notification that the device was succesfully added.
     141         * The driver can do any blocking operation without
     142         * blocking the device manager.
     143         */
     144        void (*device_added)(ddf_dev_t *dev);
    139145        /** Ask driver to remove a device */
    140146        int (*dev_remove)(ddf_dev_t *);
Note: See TracChangeset for help on using the changeset viewer.