Ignore:
File:
1 edited

Legend:

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

    r77ad86c r9d58539  
    8181         */
    8282        devman_handle_t handle;
    83        
    8483        /** Reference count */
    8584        atomic_t refcnt;
     
    105104        /** True if bound to the device manager */
    106105        bool bound;
    107        
    108106        /** Function indentifier (asigned by device manager) */
    109107        devman_handle_t handle;
    110        
    111108        /** Reference count */
    112109        atomic_t refcnt;
     
    117114        /** Function type */
    118115        fun_type_t ftype;
    119        
    120116        /** Function name */
    121117        const char *name;
    122        
    123118        /** List of device ids for driver matching */
    124119        match_id_list_t match_ids;
    125        
    126120        /** Driver-specific data associated with this function */
    127121        void *driver_data;
    128        
    129122        /** Implementation of operations provided by this function */
    130123        ddf_dev_ops_t *ops;
    131        
    132124        /** Connection handler or @c NULL to use the DDF default handler. */
    133125        async_client_conn_t conn_handler;
     
    145137        /** Callback method for passing a new device to the device driver */
    146138        int (*dev_add)(ddf_dev_t *);
    147        
    148139        /** Ask driver to remove a device */
    149140        int (*dev_remove)(ddf_dev_t *);
    150        
    151141        /** Inform driver a device disappeared */
    152142        int (*dev_gone)(ddf_dev_t *);
    153        
    154143        /** Ask driver to online a specific function */
    155144        int (*fun_online)(ddf_fun_t *);
    156        
    157145        /** Ask driver to offline a specific function */
    158146        int (*fun_offline)(ddf_fun_t *);
Note: See TracChangeset for help on using the changeset viewer.