1CCW_DEVICE_SET_ONLIN(9)           The ccw bus          CCW_DEVICE_SET_ONLIN(9)
2
3
4

NAME

6       ccw_device_set_online - enable a ccw device for I/O
7

SYNOPSIS

9       int ccw_device_set_online(struct ccw_device * cdev);
10

ARGUMENTS

12       cdev
13           target ccw device
14

DESCRIPTION

16       This function first enables cdev and then calls the driver's set_online
17       function for cdev, if given. If set_online returns an error, cdev is
18       disabled again.
19

RETURNS

21       0 on success and a negative error value on failure.
22

CONTEXT

24       enabled, ccw device lock not held
25

AUTHOR

27       Cornelia Huck <cornelia.huck@de.ibm.com>
28           Author.
29
31Kernel Hackers Manual 2.6.       November 2011         CCW_DEVICE_SET_ONLIN(9)
Impressum