.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "I2O_DEVICE_ADD" "9" "09 October 2005" "" "" .SH NAME i2o_device_add \- allocate a new I2O device and add it to the IOP .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp struct i2o_device * i2o_device_add (struct i2o_controller * \fIc\fB, i2o_lct_entry * \fIentry\fB); \fR .SH "ARGUMENTS" .TP \fB\fIc\fB\fR -- undescribed -- .TP \fB\fIentry\fB\fR LCT entry of the I2O device .SH "DESCRIPTION" .PP Allocate a new I2O device and initialize it with the LCT entry. The device is appended to the device list of the controller. .PP Returns a pointer to the I2O device on success or negative error code on failure.