SYNOPSIS

int i2o_device_add(struct i2o_controller * c, i2o_lct_entry * entry);

ARGUMENTS

c

I2O controller that the device is on

entry

LCT entry of the I2O device

DESCRIPTION

Allocate a new I2O device and initialize it with the LCT entry. The device is appended to the device list of the controller.

Returns zero on success, or a -ve errno.

COPYRIGHT