1RIO_REGISTER_SCAN(9)       RapidIO driver interface       RIO_REGISTER_SCAN(9)
2
3
4

NAME

6       rio_register_scan - enumeration/discovery method registration interface
7

SYNOPSIS

9       int rio_register_scan(int mport_id, struct rio_scan * scan_ops);
10

ARGUMENTS

12       mport_id
13           mport device ID for which fabric scan routine has to be set
14           (RIO_MPORT_ANY = set for all available mports)
15
16       scan_ops
17           enumeration/discovery control structure
18

DESCRIPTION

20       Assigns enumeration or discovery method to the specified mport device
21       (or all available mports if RIO_MPORT_ANY is specified). Returns error
22       if the mport already has an enumerator attached to it. In case of
23       RIO_MPORT_ANY ignores ports with valid scan routines and returns an
24       error if was unable to find at least one available mport.
25

AUTHOR

27       Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
28           Author.
29
31Kernel Hackers Manual 3.10         June 2019              RIO_REGISTER_SCAN(9)
Impressum