Fork us on GitHub Follow us on Facebook Follow us on Twitter

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


Ignore:
Timestamp:
2012-06-03T20:45:58Z (10 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master
Children:
90478727
Parents:
f7e69f5 (diff), 3123d2a (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 mainline changes

File:
1 edited

Legend:

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

    rf7e69f5 re1e4192  
    8181         */
    8282        devman_handle_t handle;
     83       
    8384        /** Reference count */
    8485        atomic_t refcnt;
     
    104105        /** True if bound to the device manager */
    105106        bool bound;
     107       
    106108        /** Function indentifier (asigned by device manager) */
    107109        devman_handle_t handle;
     110       
    108111        /** Reference count */
    109112        atomic_t refcnt;
     
    114117        /** Function type */
    115118        fun_type_t ftype;
     119       
    116120        /** Function name */
    117121        const char *name;
     122       
    118123        /** List of device ids for driver matching */
    119124        match_id_list_t match_ids;
     125       
    120126        /** Driver-specific data associated with this function */
    121127        void *driver_data;
     128       
    122129        /** Implementation of operations provided by this function */
    123130        ddf_dev_ops_t *ops;
     131       
    124132        /** Connection handler or @c NULL to use the DDF default handler. */
    125133        async_client_conn_t conn_handler;
     
    137145        /** Callback method for passing a new device to the device driver */
    138146        int (*dev_add)(ddf_dev_t *);
     147       
    139148        /** Ask driver to remove a device */
    140149        int (*dev_remove)(ddf_dev_t *);
     150       
    141151        /** Inform driver a device disappeared */
    142152        int (*dev_gone)(ddf_dev_t *);
     153       
    143154        /** Ask driver to online a specific function */
    144155        int (*fun_online)(ddf_fun_t *);
     156       
    145157        /** Ask driver to offline a specific function */
    146158        int (*fun_offline)(ddf_fun_t *);
Note: See TracChangeset for help on using the changeset viewer.