- int i2o_event_register(struct i2o_device * dev, struct i2o_driver * drv, int tcntxt, u32 evt_mask);
- I2O device which should receive the event registration request
- driver which want to get notified
- transaction context to use with this notifier
- mask of events
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.