Name

fsl_local_config_read — Generate a MPC85xx local config space read

Synopsis

int fsl_local_config_read (struct rio_mport *  mport,
 int  index,
 u32  offset,
 int  len,
 u32 *  data);

Arguments

mport

RapidIO master port info

index

ID of RapdiIO interface

offset

Offset into configuration space

len

Length (in bytes) of the maintenance transaction

data

Value to be read into

Description

Generates a MPC85xx local configuration space read. Returns 0 on success or -EINVAL on failure.