SysTutorials

Linux Manual Pages › Section 9

rio_mport_is_active(9)

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 [at] kernel.crashing.org>, <mporter [at] mvista.com>

Author.

Copyright