STRUCT CCW_DRIVER

Section: The ccw bus (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

struct_ccw_driver - device driver for channel attached devices  

SYNOPSIS

struct ccw_driver {
  struct module * owner;
  struct ccw_device_id * ids;
  int (* probe) (struct ccw_device *);
  void (* remove) (struct ccw_device *);
  int (* set_online) (struct ccw_device *);
  int (* set_offline) (struct ccw_device *);
  int (* notify) (struct ccw_device *, int);
  void (* path_event) (struct ccw_device *, int *);
  void (* shutdown) (struct ccw_device *);
  int (* prepare) (struct ccw_device *);
  void (* complete) (struct ccw_device *);
  int (* freeze) (struct ccw_device *);
  int (* thaw) (struct ccw_device *);
  int (* restore) (struct ccw_device *);
  enum uc_todo (* uc_handler) (struct ccw_device *, struct irb *);
  struct device_driver driver;
  char * name;
};  
 

MEMBERS

owner

owning module

ids

ids supported by this driver

probe

function called on probe

remove

function called on remove

set_online

called when setting device online

set_offline

called when setting device offline

notify

notify driver of device state changes

path_event

notify driver of channel path events

shutdown

called at device shutdown

prepare

prepare for pm state transition

complete

undo work done in prepare

freeze

callback for freezing during hibernation snapshotting

thaw

undo work done in freeze

restore

callback for restoring after hibernation

uc_handler

callback for unit check handler

driver

embedded device driver structure

name

device driver name
 

AUTHOR

Cornelia Huck <cornelia.huck@de.ibm.com>

Author.
 

COPYRIGHT