ccwgroup_create(9)

ccwgroup_create9

Create and register a ccw group device

Usage

int ccwgroup_create(struct device * root, unsigned int creator_id, struct ccw_driver * cdrv, int argc, char * argv[]);

Arguments

root

parent device for the new device

creator_id

identifier of creating driver

cdrv

ccw driver of slave devices

argc

number of slave devices

argv[]

bus ids of slave devices

Overview

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 argv[] and must all belong to cdrv.

Returns

0 on success and an error code on failure.

Context

non-atomic

Author

Cornelia Huck <[email protected]>

Author.

From linux-manual-2.6.24 2.6.24-6~etchnhalf.9etch3 in Debian 4.0 (Etch). Parsed by carta from the page's man source.