1. NAME

rio_mport_get_feature - query for devicesAq extended features

2. SYNOPSIS

u32 rio_mport_get_feature(struct rio_mport *  port , int  local , u16  destid , u8  hopcount , int  ftr );

3. 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

4. DESCRIPTION

Tell if a device supports a given RapidIO capability. Returns the offset of the requested extended feature block within the deviceAqs RIO configuration space or 0 in case the device does not support it. Possible values for ftr:

RIO_EFB_PAR_EP_ID LP/LVDS EP Devices

RIO_EFB_PAR_EP_REC_ID LP/LVDS EP Recovery Devices

RIO_EFB_PAR_EP_FREE_ID LP/LVDS EP Free Devices

RIO_EFB_SER_EP_ID LP/Serial EP Devices

RIO_EFB_SER_EP_REC_ID LP/Serial EP Recovery Devices

RIO_EFB_SER_EP_FREE_ID LP/Serial EP Free Devices

5. AUTHOR

Matt Porter <>, <>
    Author.

6. COPYRIGHT