Scroll to navigation

I2O_EVENT_REGISTER(9) Message-based devices I2O_EVENT_REGISTER(9)

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.

COPYRIGHT

May 2018 Kernel Hackers Manual 3.16