rio_std_route_get_entry — Read switch route table entry (port number) associated with specified destID using standard registers defined in RIO specification rev.1.3
int rio_std_route_get_entry ( | struct rio_mport * mport, |
| u16 destid, | |
| u8 hopcount, | |
| u16 table, | |
| u16 route_destid, | |
u8 * route_port); |
struct rio_mport * mportMaster port to issue transaction
u16 destidDestination ID of the device
u8 hopcountNumber of switch hops to the device
u16 tablerouting table ID (global or port-specific)
u16 route_destiddestID entry in the RT
u8 * route_portreturned destination port for specified destID