'\" t .\" Title: struct rio_switch .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Internals .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "STRUCT RIO_SWITCH" "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" struct_rio_switch \- RIO switch info .SH "SYNOPSIS" .sp .nf struct rio_switch { struct list_head node; u8 * route_table; u32 port_ok; struct rio_switch_ops * ops; spinlock_t lock; struct rio_dev * nextdev[0]; }; .fi .SH "MEMBERS" .PP node .RS 4 Node in global list of switches .RE .PP route_table .RS 4 Copy of switch routing table .RE .PP port_ok .RS 4 Status of each port (one bit per port) \- OK=1 or UNINIT=0 .RE .PP ops .RS 4 pointer to switch\-specific operations .RE .PP lock .RS 4 lock to serialize operations updates .RE .PP nextdev[0] .RS 4 Array of per\-port pointers to the next attached device .RE .SH "AUTHOR" .PP \fBMatt Porter\fR <\&mporter@kernel.crashing.org\&>, <\&mporter@mvista.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br