---
name: "rio_mport_is_active"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/rio_mport_is_active"
---

# rio\_mport\_is\_active(9)

Tests if master port link is active

## NAME

rio\_mport\_is\_active - Tests if master port link is active

## SYNOPSIS

**int rio\_mport\_is\_active(struct rio\_mport \*** *port***);**

## ARGUMENTS

*port*

Master port to test

## DESCRIPTION

Reads the port error status CSR for the master port to determine if the port has an active link. Returns **RIO\_PORT\_N\_ERR\_STS\_PORT\_OK** if the master port is active or **0** if it is inactive.

## AUTHOR

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

Author.

## COPYRIGHT
