mpiDriveMapConfigList

Declaration

int32_t mpiDriveMapConfigList (MPIDriveMap   driveMap,
                            char          *nodeName,
                            char          *firmwareVersion,
                            int32_t          configCount,
                            int32_t          *configList);

Required Header: drivemap.h

Description

mpiDriveMapConfigList scans the drive map file for a drive entry that matches a particular drive. If an entry is found, this function returns the list of drive parameters that need to be preserved for the configuration of the drive.

This function is normally used with the mpiDriveMapConfigCount(...) function. The mpiDriveMapConfigCount function is called first in order to get the size of the drive configuration list. Then the user can use this size as a guide to allocate enough memory to hold the complete configuration list before calling this function to fill in the 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.
configCount the number of drive parameter information records that can be written to the configList list.
*configList pointer to the list of drive parameters that make up the drive configuration that will be filled in by this function.
   
 
Return Values
MPIMessageOK

See Also

mpiDriveMapConfigCount