Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
virtio_driver Struct Reference

#include <virtio.h>

Data Fields

struct device_driver driver
 
struct virtio_device_idid_table
 
const unsigned intfeature_table
 
unsigned int feature_table_size
 
int(* probe )(struct virtio_device *dev)
 
void(* scan )(struct virtio_device *dev)
 
void(* remove )(struct virtio_device *dev)
 
void(* config_changed )(struct virtio_device *dev)
 

Detailed Description

virtio_driver - operations for a virtio I/O driver : underlying device driver (populate name and owner). : the ids serviced by this driver. : an array of feature numbers supported by this driver. : number of entries in the feature table array. : the function to call when a device is found. Returns 0 or -errno. : the function to call when a device is removed. : optional function to call when the device configuration changes; may be called in interrupt context.

Definition at line 91 of file virtio.h.

Field Documentation

void(* config_changed)(struct virtio_device *dev)

Definition at line 99 of file virtio.h.

Definition at line 92 of file virtio.h.

const unsigned int* feature_table

Definition at line 94 of file virtio.h.

unsigned int feature_table_size

Definition at line 95 of file virtio.h.

Definition at line 93 of file virtio.h.

Definition at line 96 of file virtio.h.

Definition at line 98 of file virtio.h.

Definition at line 97 of file virtio.h.


The documentation for this struct was generated from the following file: