i2o_event_register

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

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

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 negative error code on failure.