1RIO_SPORT_IS_ACTIVE(9) Internals RIO_SPORT_IS_ACTIVE(9)
2
3
4
6 rio_sport_is_active - Tests if a switch port has an active connection.
7
9 int rio_sport_is_active(struct rio_mport * port, u16 destid,
10 u8 hopcount, int sport);
11
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
26 Reads the port error status CSR for a particular switch port to
27 determine if the port has an active link. Returns
28 PORT_N_ERR_STS_PORT_OK if the port is active or 0 if it is inactive.
29
31 Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
32 Author.
33
35Kernel Hackers Manual 2.6. June 2019 RIO_SPORT_IS_ACTIVE(9)