'\" t .\" Title: rio_alloc_net .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Internals .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "RIO_ALLOC_NET" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Internals" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" rio_alloc_net \- Allocate and configure a new RIO network .SH "SYNOPSIS" .HP \w'struct\ rio_net\ *\ rio_alloc_net('u .BI "struct rio_net * rio_alloc_net(struct\ rio_mport\ *\ " "port" ", int\ " "do_enum" ", u16\ " "start" ");" .SH "ARGUMENTS" .PP \fIport\fR .RS 4 Master port associated with the RIO network .RE .PP \fIdo_enum\fR .RS 4 Enumeration/Discovery mode flag .RE .PP \fIstart\fR .RS 4 logical minimal start id for new net .RE .SH "DESCRIPTION" .PP 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 \fBNULL\fR on failure\&. .SH "AUTHOR" .PP \fBMatt Porter\fR <\&mporter@kernel.crashing.org\&>, <\&mporter@mvista.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br