'\" t .\" Title: rio_std_route_add_entry .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Internals .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "RIO_STD_ROUTE_ADD_EN" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "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_std_route_add_entry \- Add switch route table entry using standard registers defined in RIO specification rev\&.1\&.3 .SH "SYNOPSIS" .HP \w'int\ rio_std_route_add_entry('u .BI "int rio_std_route_add_entry(struct\ rio_mport\ *\ " "mport" ", u16\ " "destid" ", u8\ " "hopcount" ", u16\ " "table" ", u16\ " "route_destid" ", u8\ " "route_port" ");" .SH "ARGUMENTS" .PP \fImport\fR .RS 4 Master port to issue transaction .RE .PP \fIdestid\fR .RS 4 Destination ID of the device .RE .PP \fIhopcount\fR .RS 4 Number of switch hops to the device .RE .PP \fItable\fR .RS 4 routing table ID (global or port\-specific) .RE .PP \fIroute_destid\fR .RS 4 destID entry in the RT .RE .PP \fIroute_port\fR .RS 4 destination port for specified destID .RE .SH "AUTHOR" .PP \fBMatt Porter\fR <\&mporter@kernel.crashing.org\&>, <\&mporter@mvista.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br