1I2O_EVENT_REGISTER(9) Message-based devices I2O_EVENT_REGISTER(9)
2
3
4
6 i2o_event_register - Turn on/off event notification for a I2O device
7
9 int i2o_event_register(struct i2o_device * dev,
10 struct i2o_driver * drv, int tcntxt,
11 u32 evt_mask);
12
14 dev
15 I2O device which should receive the event registration request
16
17 drv
18 driver which want to get notified
19
20 tcntxt
21 transaction context to use with this notifier
22
23 evt_mask
24 mask of events
25
27 Create and posts an event registration message to the task. No reply is
28 waited for, or expected. If you do not want further notifications, call
29 the i2o_event_register again with a evt_mask of 0.
30
31 Returns 0 on success or negative error code on failure.
32
34Kernel Hackers Manual 2.6. November 2011 I2O_EVENT_REGISTER(9)