---
name: "rio_switch_init"
section: "9"
platform: "linux"
package: "linux-manual-3.2"
version: "3.2.78-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/rio_switch_init"
---

# rio\_switch\_init(9)

Sets switch operations for a particular vendor switch

## NAME

rio\_switch\_init - Sets switch operations for a particular vendor switch

## SYNOPSIS

**void rio\_switch\_init(struct rio\_dev \*** *rdev***, int** *do\_enum***);**

## ARGUMENTS

*rdev*

RIO device

*do\_enum*

Enumeration/Discovery mode flag

## DESCRIPTION

Searches the RIO switch ops table for known switch types. If the vid and did match a switch table entry, then call switch initialization routine to setup switch-specific routines.

## AUTHOR

**Matt Porter** \<mporter@kernel.crashing.org\>, \<mporter@mvista.com\>

Author.

## COPYRIGHT
