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

NAME

6       rio_sport_is_active - Tests if a switch port has an active connection.
7

SYNOPSIS

9       int rio_sport_is_active(struct rio_mport * port, u16 destid,
10                               u8 hopcount, int sport);
11

ARGUMENTS

13       port
14           Master port to send transaction
15
16       destid
17           Associated destination ID for switch
18
19       hopcount
20           Hopcount to reach switch
21
22       sport
23           Switch port number
24

DESCRIPTION

26       Reads the port error status CSR for a particular switch port to
27       determine if the port has an active link. Returns
28       RIO_PORT_N_ERR_STS_PORT_OK if the port is active or 0 if it is
29       inactive.
30

AUTHOR

32       Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
33           Author.
34
36Kernel Hackers Manual 2.6.       November 2011          RIO_SPORT_IS_ACTIVE(9)
Impressum