rio_register_scan — enumeration/discovery method registration interface
int rio_register_scan ( | int mport_id, |
struct rio_scan * scan_ops) ; |
mport_id
mport device ID for which fabric scan routine has to be set (RIO_MPORT_ANY = set for all available mports)
scan_ops
enumeration/discovery control structure
Assigns enumeration or discovery method to the specified mport device (or all available mports if RIO_MPORT_ANY is specified). Returns error if the mport already has an enumerator attached to it. In case of RIO_MPORT_ANY ignores ports with valid scan routines and returns an error if was unable to find at least one available mport.