struct rio_switch — RIO switch info
struct rio_switch {
struct list_head node;
u8 * route_table;
u32 port_ok;
struct rio_switch_ops * ops;
spinlock_t lock;
struct rio_dev * nextdev[0];
}; struct list_head nodeNode in global list of switches
u8 * route_tableCopy of switch routing table
u32 port_okStatus of each port (one bit per port) - OK=1 or UNINIT=0
struct rio_switch_ops * opspointer to switch-specific operations
spinlock_t locklock to serialize operations updates
struct rio_dev * nextdev[0]Array of per-port pointers to the next attached device