rio_add_mport_pw_handler (9) Linux Manual Page
rio_add_mport_pw_handler – add port-write message handler into the list of mport specific pw handlers
Synopsis
int rio_add_mport_pw_handler(struct rio_mport *mport, void *context, int (*pwcback)(struct rio_mport *mport, void *context, union rio_pw_msg *msg, int step));
Arguments
mport
-
- RIO master port to bind the portwrite callback
context
- Handler specific context to pass on event
pwcback
- Callback to execute when portwrite is received
Description
Returns 0 if the request has been satisfied.
Author
Matt Porter <mporter [at] kernel.crashing.org>, <mporter [at] mvista.com>
- Author.
