1. NAME

i2o_device_add - allocate a new I2O device and add it to the IOP

2. SYNOPSIS

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

3. ARGUMENTS

c
    I2O controller that the device is on

entry
    LCT entry of the I2O device

4. 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.

5. COPYRIGHT