struct rio_switch {
  struct list_head node;
  struct rio_dev * rdev;
  u16 switchid;
  u16 hopcount;
  u16 destid;
  u8 * route_table;
  u32 port_ok;
  int (* add_entry) (struct rio_mport * mport, u16 destid, u8 hopcount,u16 table, u16 route_destid, u8 route_port);
  int (* get_entry) (struct rio_mport * mport, u16 destid, u8 hopcount,u16 table, u16 route_destid, u8 * route_port);
  int (* clr_table) (struct rio_mport *mport, u16 destid, u8 hopcount,u16 table);
  int (* set_domain) (struct rio_mport *mport, u16 destid, u8 hopcount,u8 sw_domain);
  int (* get_domain) (struct rio_mport *mport, u16 destid, u8 hopcount,u8 *sw_domain);
  int (* em_init) (struct rio_dev *dev);
  int (* em_handle) (struct rio_dev *dev, u8 swport);
  int (* sw_sysfs) (struct rio_dev *dev, int create);
  struct rio_dev * nextdev[0];
};  
 
node
rdev
switchid
hopcount
destid
route_table
port_ok
add_entry
get_entry
clr_table
set_domain
get_domain
em_init
em_handle
sw_sysfs
nextdev[0]
Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>