1. NAME

ccw_device_set_online - enable a ccw device for I/O

2. SYNOPSIS

int ccw_device_set_online(struct ccw_device *  cdev );

3. ARGUMENTS

cdev
    target ccw device

4. DESCRIPTION

This function first enables cdev and then calls the driverAqs set_online function for cdev, if given. If set_online returns an error, cdev is disabled again.

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