1STRUCT CCW_DEVICE(9)              The ccw bus             STRUCT CCW_DEVICE(9)
2
3
4

NAME

6       struct_ccw_device - channel attached device
7

SYNOPSIS

9       struct ccw_device {
10         spinlock_t * ccwlock;
11         struct ccw_device_id id;
12         struct ccw_driver * drv;
13         struct device dev;
14         int online;
15         void (* handler) (struct ccw_device *, unsigned long, struct irb *);
16       };
17

MEMBERS

19       ccwlock
20           pointer to device lock
21
22       id
23           id of this device
24
25       drv
26           ccw driver for this device
27
28       dev
29           embedded device structure
30
31       online
32           online status of device
33
34       handler
35           interrupt handler
36

DESCRIPTION

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

AUTHOR

43       Cornelia Huck <cornelia.huck@de.ibm.com>
44           Author.
45
47Kernel Hackers Manual 2.6.         June 2019              STRUCT CCW_DEVICE(9)
Impressum