rio_sport_is_active(9)

rio_sport_is_active9

Tests if a switch port has an active connection.

Usage

int rio_sport_is_active(struct rio_dev * rdev, int sp);

Arguments

rdev

RapidIO device object

sp

Switch port number

Overview

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.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

Author

Matt Porter <[email protected]>, <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.