.\" 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_MSG_GET_WAIT" "9" "09 October 2005" "" ""
.SH NAME
i2o_msg_get_wait \- obtain an I2O message from the IOP
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
u32 i2o_msg_get_wait (struct i2o_controller * \fIc\fB, struct i2o_message __iomem ** \fImsg\fB, int \fIwait\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIc\fB\fR
I2O controller
.TP
\fB\fImsg\fB\fR
pointer to a I2O message pointer
.TP
\fB\fIwait\fB\fR
how long to wait until timeout
.SH "DESCRIPTION"
.PP
This function waits up to wait seconds for a message slot to be
available.
.PP
On a success the message is returned and the pointer to the message is
set in msg. The returned message is the physical page frame offset
address from the read port (see the i2o spec). If no message is
available returns I2O_QUEUE_EMPTY and msg is leaved untouched.