ccwgroup_create_from_string(9)

ccwgroup_create_from_string9

Create and register a ccw group device

Usage

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

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 buf and must all belong to cdrv.

Returns

0 on success and an error code on failure.

Context

non-atomic

Releases

3 releases since Debian 5.0 (Lenny); the text changed 2 times.

  1. 5.0
  2. 6.0
  3. 7

Author

Cornelia Huck <[email protected]>

Author.

From linux-manual-3.2 3.2.78-1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.