1I2O_MSG_GET_WAIT(9)          Message-based devices         I2O_MSG_GET_WAIT(9)
2
3
4

NAME

6       i2o_msg_get_wait - obtain an I2O message from the IOP
7

SYNOPSIS

9       struct i2o_message * i2o_msg_get_wait(struct i2o_controller * c,
10                                             int wait);
11

ARGUMENTS

13       c
14           I2O controller
15
16       wait
17           how long to wait until timeout
18

DESCRIPTION

20       This function waits up to wait seconds for a message slot to be
21       available.
22
23       On a success the message is returned and the pointer to the message is
24       set in msg. The returned message is the physical page frame offset
25       address from the read port (see the i2o spec). If no message is
26       available returns I2O_QUEUE_EMPTY and msg is leaved untouched.
27
29Kernel Hackers Manual 2.6.       November 2011             I2O_MSG_GET_WAIT(9)
Impressum