ccw_device_set_online (9) Linux Manual Page
ccw_device_set_online – enable a ccw device for I/O
Synopsis
int ccw_device_set_online(struct ccw_device *cdev);
Arguments
cdev
-
- target ccw device
Description
This function first enables cdev and then calls the driver’s set_online function for cdev, if given. If set_online returns an error, cdev is disabled again.
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.ibm.com>
- Author.
