RIO_REGISTER_SCAN(9) | RapidIO driver interface | RIO_REGISTER_SCAN(9) |
NAME¶
rio_register_scan - enumeration/discovery method registration interface
SYNOPSIS¶
int rio_register_scan(int mport_id, struct rio_scan * scan_ops);
ARGUMENTS¶
int mport_id
struct rio_scan * scan_ops
DESCRIPTION¶
Registers enumeration/discovery operations with RapidIO subsystem and attaches it 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 skips mports with valid scan routines (no error).
AUTHOR¶
Matt Porter <mporter@kernel.crashing.org>, <mporter@mvista.com>
COPYRIGHT¶
June 2017 | Kernel Hackers Manual 4.11 |