.\" 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_EVENT_REGISTER" "9" "09 October 2005" "" ""
.SH NAME
i2o_event_register \- Turn on/off event notification for a I2O device
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int i2o_event_register (struct i2o_device * \fIdev\fB, struct i2o_driver * \fIdrv\fB, int \fItcntxt\fB, u32 \fIevt_mask\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdev\fB\fR
I2O device which should receive the event registration request
.TP
\fB\fIdrv\fB\fR
driver which want to get notified
.TP
\fB\fItcntxt\fB\fR
transaction context to use with this notifier
.TP
\fB\fIevt_mask\fB\fR
mask of events
.SH "DESCRIPTION"
.PP
Create and posts an event registration message to the task. No reply
is waited for, or expected. If you do not want further notifications,
call the i2o_event_register again with a evt_mask of 0.
.PP
Returns 0 on success or -ETIMEDOUT if no message could be fetched for
sending the request.