Gets mapping of OS identification to FCP indentification for each child of the specified HBA_HANDLE.
Common Host Bus Adapter Library (libHBAAPI.a)
#include <hbaapi.h> void HBA_GetFcpTargetMapping (handle, mapping) HBA_HANDLE handle; PHBA_FCPTARGETMAPPING mapping;
For the specified HBA_HANDLE, the HBA_GetFcpTargetMapping subroutine maps OS identification of all its SCSI logical units to their FCP indentification. Applications must allocate memory for the HBA_FCPTargetMapping structure, and also pass to the subroutine the number of entries allocated. If the subroutine determines that the structure is not large enough to represent the entire mapping, it will set the NumberOfEntries variable to the correct value and return an error.
If successful, HBA_STATUS_OK is returned and the mapping parameter points to the full mapping structure. If the application has not allocated enough space for the full mapping, HBA_STATUS_ERROR_MORE_DATA is returned, and the NumberOfEntries field in the mapping structure is set to the correct value.
If there is insufficient space allocated for the full mapping, HBA_STATUS_ERROR_MORE_DATA is returned.
Special Files in AIX 5L Version 5.2 Files Reference describes specific qualities of the files that define devices.