Changeset 77ad86c in mainline for uspace/lib/drv/include/ddf


Ignore:
Timestamp:
2012-06-01T19:00:32Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b713ff80
Parents:
4e5dabf
Message:

cstyle (no change in functionality)

Location:
uspace/lib/drv/include/ddf
Files:
2 edited

Legend:

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

    r4e5dabf r77ad86c  
    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 *);
  • uspace/lib/drv/include/ddf/interrupt.h

    r4e5dabf r77ad86c  
    4242#include <ddi.h>
    4343#include <fibril_synch.h>
    44 
    4544#include "driver.h"
    4645#include "../dev_iface.h"
Note: See TracChangeset for help on using the changeset viewer.