.\" 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_INSTALL_DEVICE" "" "06 October 2005" "" ""
.SH NAME
i2o_install_device \- attach a device to a controller
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int i2o_install_device (struct i2o_controller * \fIc\fB, struct i2o_device * \fId\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIc\fB\fR
controller
.TP
\fB\fId\fB\fR
device
.SH "DESCRIPTION"
.PP
Add a new device to an i2o controller. This can be called from
non interrupt contexts only. It adds the device and marks it as
unclaimed. The device memory becomes part of the kernel and must
be uninstalled before being freed or reused. Zero is returned
on success.