88 High Availability Software for the Intel® NetStructureTM ZT 4901 Technical Product Specification
Slot Control API
Slot - The physical slot number
pHealthy - Pointer to the location where the board health status is placed: TRUE
means the board is present and healthy; FALSE means the board is not
healthy
Return value:
HSI_STATUS_SUCCESS if successful
HSI_STATUS_INVALID_PARAMETER
returned if the physical slot number does not correspond to any actual
slot or if the handle is invalid
HSI_STATUS_NO_DATA_DETECTED
returned if the board health status cannot be currently determined (the
slot is not powered)
Other HSI_STATUS values
returned if other errors occurred during execution of this function
Synopsis:
This function detects the health status of the board in the specified slot and returns it in the
pHealthy parameter as a logical value. TRUE means the board is present and healthy; FALSE
means the board is either not healthy or absent.
Note: The board health status cannot be determined if the slot power is off; this function returns status
HSI_STATUS_NO_DATA_DETECTED in this case.
9.6 HsiGetSlotPower
Prototype:
HSI_STATUS
HsiGetSlotPower(
IN HSI_SLOT_CONTROL_HANDLE Handle,
IN UINT32 Slot,
OUT BOOLEAN *pPower );
Arguments:
Handle - The handle of the current session
Slot - The physical slot number
pPower - Pointer to the location where the slot power status is placed: TRUE
means the slot power is on; FALSE means the slot power is off
Return Value:
HSI_STATUS_SUCCESS if successful