SysTutorials

Linux Manual Pages › Section 9

ccw_device_set_offline(9)

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.ibm.com>

Author.

Copyright