rio_mport_get_feature(9)
rio_mport_get_feature – query for devices’ extended features
Synopsis
u32 rio_mport_get_feature(struct rio_mportport* , intlocal, u16destid, u8hopcount, intftr);
Arguments
port
- Master port to issue transaction
local
- Indicate a local master port or remote device access
destid
- Destination ID of the device
hopcount
- Number of switch hops to the device
ftr
- Extended feature code
Description
Tell if a device supports a given RapidIO capability. Returns the offset of the requested extended feature block within the device’s RIO configuration space or 0 in case the device does not support it.
Author
Matt Porter <mporter [at] kernel.crashing.org>, <mporter [at] mvista.com>
- Author.