ccwgroup_create_from_string

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

ccwgroup_create_from_string - create and register a ccw group device

SYNOPSIS

int ccwgroup_create_from_string(struct device * root, unsigned int creator_id, struct ccw_driver * cdrv, int num_devices, const char * buf);

ARGUMENTS

root

parent device for the new device

creator_id

identifier of creating driver

cdrv

ccw driver of slave devices

num_devices

number of slave devices

buf

buffer containing comma separated bus ids of slave devices

DESCRIPTION

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

RETURNS

0 on success and an error code on failure.

CONTEXT

non-atomic

AUTHOR

Cornelia Huck <cornelia.huck@de.ibm.com>

Author.