Changeset d5ba17f in mainline for uspace/lib/drv/include/ddf/driver.h


Ignore:
Timestamp:
2011-11-18T15:32:24Z (12 years ago)
Author:
Frantisek Princ <frantisek.princ@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
Children:
528e5b3
Parents:
b12ca16 (diff), 0c0f823b (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.
Message:

Merge with mainline

File:
1 edited

Legend:

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

    rb12ca16 rd5ba17f  
    136136typedef struct driver_ops {
    137137        /** Callback method for passing a new device to the device driver */
    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);
     138        int (*dev_add)(ddf_dev_t *);
    145139        /** Ask driver to remove a device */
    146140        int (*dev_remove)(ddf_dev_t *);
     
    151145        /** Ask driver to offline a specific function */
    152146        int (*fun_offline)(ddf_fun_t *);
     147
     148        /**
     149         * Notification that the device was succesfully added.
     150         * The driver can do any blocking operation without
     151         * blocking the device manager.
     152         *
     153         * XXX REMOVE THIS
     154         */
     155        void (*device_added)(ddf_dev_t *dev);
    153156} driver_ops_t;
    154157
Note: See TracChangeset for help on using the changeset viewer.