RIO_ALLOC_NET(9) Internals RIO_ALLOC_NET(9)
NAME
rio_alloc_net - Allocate and configure a new RIO network
SYNOPSIS
struct rio_net * rio_alloc_net(struct rio_mport * port, int do_enum, u16 start);
ARGUMENTS
port
Master port associated with the RIO network
do_enum
Enumeration/Discovery mode flag
start
logical minimal start id for new net
DESCRIPTION
Allocates a RIO network structure, initializes per-network list heads, and adds the associated master port to the network list of
associated master ports. Returns a RIO network pointer on success or NULL on failure.
AUTHOR
Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
Author.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 RIO_ALLOC_NET(9)