rio_is_switch (9) - Linux Manuals

rio_is_switch: Tests if a RIO device has switch capabilities

NAME

rio_is_switch - Tests if a RIO device has switch capabilities

SYNOPSIS

int rio_is_switch(struct rio_dev rdev);

ARGUMENTS

rdev

RIO device

DESCRIPTION

Gets the RIO device Processing Element Features register contents and tests for switch capabilities. Returns 1 if the device is a switch or 0 if it is not a switch. The RIO device struct is freed.

AUTHOR

Matt Porter <mporter [at] kernel.crashing.org>, <mporter [at] mvista.com>

Author.

COPYRIGHT