mpiDriveMapParamList

Declaration

int32_t mpiDriveMapParamList (MPIDriveMap           driveMap,
                           char                  *nodeName,
                           char                  *firmwareVersion,
                           int32_t                  paramCount,
                           MPIDriveMapParamInfo  *driveParamInfo);

Required Header: drivemap.h

Description

mpiDriveMapParamList scans the drive map file for an entry that matches a particular drive. If a drive entry is found, this function writes the drive parameter information about each of the drive parameters to the driveParamInfo list.

This function is normally used with the mpiDriveMapParamCount(...) function. The mpiDriveMapParamCount function is called first to get the size of the parameter list, the user can then use this size to allocate enough memory to hold the complete parameter list before calling this function to fill in the parameter list.

 
driveMap a handle to a DriveMap object.
*nodeName the product/manufacturing text string of the node to search for. The nodeName of an SqNode object can be retreived by calling mpiSqNodeInfo(...). See MPISqNodeInfo.
*firmwareVersion The firmware version of the drive to search for. This information can be retrieved from an SqNode object by calling mpiSqNodeDriveInfo(...). See MPISqNodeDriveInfo.
paramCount the number of drive parameter information records that can be written to the driveParamInfo list.
*driveParamInfo pointer to the list of drive parameter information records that will be filled in by this function.
   
 
Return Values
MPIMessageOK

 

See Also

mpiDriveMapParamCount