struct ccw_device — channel attached device
struct ccw_device {
spinlock_t * ccwlock;
struct ccw_device_id id;
struct ccw_driver * drv;
struct device dev;
int online;
void (* handler) (struct ccw_device *, unsigned long, struct irb *);
}; spinlock_t * ccwlockpointer to device lock
struct ccw_device_id idid of this device
struct ccw_driver * drvccw driver for this device
struct device devembedded device structure
int onlineonline status of device
void (*) (struct ccw_device *, unsigned long, struct irb *) handlerinterrupt handler