rio_sport_is_active(9) - phpMan
RIO_SPORT_IS_ACTIVE(9) Internals RIO_SPORT_IS_ACTIVE(9)
NAME
rio_sport_is_active - Tests if a switch port has an active connection.
SYNOPSIS
int rio_sport_is_active(struct rio_dev * rdev, int sp);
ARGUMENTS
rdev
RapidIO device object
sp
Switch port number
DESCRIPTION
Reads the port error status CSR for a particular switch port to determine if the port has
an active link. Returns RIO_PORT_N_ERR_STS_PORT_OK if the port is active or 0 if it is
inactive.
AUTHOR
Matt Porter <mporter AT kernel.org>, <mporter AT mvista.com>
Author.
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 RIO_SPORT_IS_ACTIVE(9)
|