Name

struct rio_switch_ops — Per-switch operations

Synopsis

struct rio_switch_ops {
  u16 vid;
  u16 did;
  int (* init_hook) (struct rio_dev *rdev, int do_enum);
};  

Members

vid

RIO vendor ID

did

RIO device ID

init_hook

Callback that performs switch device initialization

Description

Defines the operations that are necessary to initialize/control a particular RIO switch device.