ccw_device_set_offline(9) - phpMan
CCW_DEVICE_SET_OFFLI(9) The ccw bus CCW_DEVICE_SET_OFFLI(9)
NAME
ccw_device_set_offline - disable a ccw device for I/O
SYNOPSIS
int ccw_device_set_offline(struct ccw_device * cdev);
ARGUMENTS
cdev
target ccw device
DESCRIPTION
This function calls the driver's set_offline function for cdev, if given, and then
disables cdev.
RETURN
0 on success and a negative error value on failure.
CONTEXT
enabled, ccw device lock not held
AUTHOR
Cornelia Huck <cornelia.huck AT de.com>
Author.
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 CCW_DEVICE_SET_OFFLI(9)
|