1CCWGROUP_CREATE_FROM(9)        The ccwgroup bus        CCWGROUP_CREATE_FROM(9)
2
3
4

NAME

6       ccwgroup_create_from_string - create and register a ccw group device
7

SYNOPSIS

9       int ccwgroup_create_from_string(struct device * root,
10                                       unsigned int creator_id,
11                                       struct ccw_driver * cdrv,
12                                       int num_devices, const char * buf);
13

ARGUMENTS

15       root
16           parent device for the new device
17
18       creator_id
19           identifier of creating driver
20
21       cdrv
22           ccw driver of slave devices
23
24       num_devices
25           number of slave devices
26
27       buf
28           buffer containing comma separated bus ids of slave devices
29

DESCRIPTION

31       Create and register a new ccw group device as a child of root. Slave
32       devices are obtained from the list of bus ids given in buf and must all
33       belong to cdrv.
34

RETURNS

36       0 on success and an error code on failure.
37

CONTEXT

39       non-atomic
40

AUTHOR

42       Cornelia Huck <cornelia.huck@de.ibm.com>
43           Author.
44
46Kernel Hackers Manual 2.6.       November 2011         CCWGROUP_CREATE_FROM(9)
Impressum