Changeset 8013637 in mainline for uspace/lib/drv/include


Ignore:
Timestamp:
2012-07-20T13:51:28Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8fccd42
Parents:
c5bff3c (diff), 7030bc9 (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:

More mainline changes.

Location:
uspace/lib/drv/include
Files:
2 added
4 edited

Legend:

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

    rc5bff3c r8013637  
    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

    rc5bff3c r8013637  
    3636#define DDF_INTERRUPT_H_
    3737
     38#include <libarch/common.h>
     39#include <libarch/types.h>
    3840#include <abi/ddi/irq.h>
    3941#include <adt/list.h>
    4042#include <ddi.h>
    4143#include <fibril_synch.h>
    42 
    4344#include "driver.h"
    4445#include "../dev_iface.h"
  • uspace/lib/drv/include/ops/hw_res.h

    rc5bff3c r8013637  
    3939#include <device/hw_res.h>
    4040#include <sys/types.h>
    41 
    4241#include "../ddf/driver.h"
    4342
  • uspace/lib/drv/include/ops/nic.h

    rc5bff3c r8013637  
    4040#include <nic/nic.h>
    4141#include <sys/time.h>
    42 
    4342#include "../ddf/driver.h"
    4443
Note: See TracChangeset for help on using the changeset viewer.