1. NAME

ccw_device_set_offline - disable a ccw device for I/O

2. SYNOPSIS

int ccw_device_set_offline(struct ccw_device *  cdev );

3. ARGUMENTS

cdev
    target ccw device

4. DESCRIPTION

This function calls the driverAqs set_offline function for cdev, if given, and then disables cdev.

5. RETURNS

0 on success and a negative error value on failure.

6. CONTEXT

enabled, ccw device lock not held

7. AUTHOR

Cornelia Huck < >
    Author.

8. COPYRIGHT