cpi_get_dev_info

Retrieves device information for available TX boards.

Prototype

#include txcpi.h

CPI_ERR_TYPE cpi_get_dev_info ( CPI_DEV_INFO *devinfo, U16 *numdevs)

Argument

Description

devinfo

Pointer to an array of device information structures.

numdevs

Pointer to the number of entries in the devinfo array on input and the number of entries populated on output (number of detected TX devices).


Return values

Return value

Description

CPI_SUCCESS

Information about the set of detected TX devices provided in devinfo.

CPI_ERROR

Call cpi_get_last_error to obtain the error code.


Details

Use cpi_get_dev_info to determine the PCI bus and slot for each installed TX board when assigning CP numbers to the detected boards.

See also

cpi_set_cpid