1. NAME

struct_ccw_device - channel attached device

2. SYNOPSIS



 
Sélectionnez
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 *);
};

3. MEMBERS

ccwlock
    pointer to device lock

id
    id of this device

drv
    ccw driver for this device

dev
    embedded device structure

online
    online status of device

handler
    interrupt handler

4. DESCRIPTION

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).

5. AUTHOR

Cornelia Huck <>
    Author.

6. COPYRIGHT