I2O_EVENT_REGISTER

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

i2o_event_register - Turn on/off event notification for a I2O device  

SYNOPSIS

"SYNOPSIS"

int i2o_event_register (struct i2o_device * dev, struct i2o_driver * drv, int tcntxt, u32 evt_mask);  

ARGUMENTS

dev
I2O device which should receive the event registration request
drv
driver which want to get notified
tcntxt
transaction context to use with this notifier
evt_mask
mask of events
 

DESCRIPTION

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.

Returns 0 on success or -ETIMEDOUT if no message could be fetched for sending the request.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:13 GMT, October 09, 2005