Provided by: linux-doc-2.6.15_2.6.15-23.39_all
rio_setup_device - Allocates and sets up a RIO device
struct rio_dev * rio_setup_device (struct rio_net * net,
struct rio_mport * port,
u16 destid, u8 hopcount,
net RIO network
port Master port to send transactions
destid Current destination ID
Enumeration/Discovery mode flag
Allocates a RIO device and configures fields based on configuration
space contents. If device has a destination ID register, a destination
ID is either assigned in enumeration mode or read from configuration
space in discovery mode. If the device has switch capabilities, then a
switch is allocated and configured appropriately. Returns a pointer to
a RIO device on success or NULL on failure.
Matt Porter <firstname.lastname@example.org> <email@example.com>.