1RIO_IS_SWITCH(9)                   Internals                  RIO_IS_SWITCH(9)
2
3
4

NAME

6       rio_is_switch - Tests if a RIO device has switch capabilities
7

SYNOPSIS

9       int rio_is_switch(struct rio_dev * rdev);
10

ARGUMENTS

12       rdev
13           RIO device
14

DESCRIPTION

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

AUTHOR

21       Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
22           Author.
23
25Kernel Hackers Manual 3.10         June 2019                  RIO_IS_SWITCH(9)
Impressum