rio_request_inb_mbox (9) - Linux Manuals
rio_request_inb_mbox: request inbound mailbox service
NAME
rio_request_inb_mbox - request inbound mailbox service
SYNOPSIS
-
int rio_request_inb_mbox(struct rio_mport
* mport, void* dev_id, intmbox, int entries, void (* minb)(struct rio_mport * mport, void *dev_id, int mbox, int slot));
ARGUMENTS
mport
-
- RIO master port from which to allocate the mailbox resource
dev_id
- Device specific pointer to pass on event
mbox
- Mailbox number to claim
entries
- Number of entries in inbound mailbox queue
minb
- Callback to execute when inbound message is received
DESCRIPTION
Requests ownership of an inbound mailbox resource and binds a callback function to the resource. Returns 0 on success.
AUTHOR
Matt Porter <mporter [at] kernel.crashing.org>, <mporter [at] mvista.com>
- Author.
COPYRIGHT