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 *); };
pointer to device lock
id of this device
ccw driver for this device
embedded device structure
online status of device
interrupt handler
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).