ccw_device_set_online(9)

ccw_device_set_online9

Enable a ccw device for i/o

Usage

int ccw_device_set_online(struct ccw_device * cdev);

Arguments

cdev

target ccw device

Overview

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

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

Author

Cornelia Huck <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.