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

#include <ccwdev.h>

Data Fields

spinlock_tccwlock
 
struct ccw_device_privateprivate
 
struct ccw_device_id id
 
struct ccw_driverdrv
 
struct device dev
 
int online
 
void(* handler )(struct ccw_device *, unsigned long, struct irb *)
 

Detailed Description

struct ccw_device - channel attached device : pointer to device lock : id of this device : ccw driver for this device : embedded device structure : online status of device : interrupt handler

is a member of the device rather than the driver since a driver can have different interrupt handlers for different ccw devices (multi-subchannel drivers).

Definition at line 83 of file ccwdev.h.

Field Documentation

spinlock_t* ccwlock

Definition at line 84 of file ccwdev.h.

Definition at line 90 of file ccwdev.h.

Definition at line 89 of file ccwdev.h.

void(* handler)(struct ccw_device *, unsigned long, struct irb *)

Definition at line 92 of file ccwdev.h.

Definition at line 88 of file ccwdev.h.

int online

Definition at line 91 of file ccwdev.h.

Definition at line 86 of file ccwdev.h.


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