90 High Availability Software for the Intel® NetStructureTM ZT 4901 Technical Product Specification
Slot Control API
HSI_STATUS
HsiGetSlotReset(
IN HSI_SLOT_CONTROL_HANDLE Handle,
IN UINT32 Slot,
OUT BOOLEAN *pReset );
Arguments:
Handle - The handle of the current session
Slot - The physical slot number
pReset - Pointer to the location where the slot reset status is placed: TRUE means
the slot is in the reset state; FALSE means the slot is not in the reset state
Return Value:
HSI_STATUS_SUCCESSif successful
HSI_STATUS_NOT_IMPLEMENTED
returned if slot reset functionality is not implemented for the given
platform
HSI_STATUS_INVALID_PARAMETER
returned if the physical slot number does not correspond to any actual
slot or if the handle is invalid
Other HSI_STATUS values
returned if other errors occurred during execution of this function
Synopsis:
This function detects the reset status of the specified slot and returns it in the pReset parameter as a
logical value: TRUE means the slot is in the reset state; FALSE means the slot is not in the reset
state.
This function is optional for the Hot Swap Controller; if it is not implemented by the hardware,
HSI_STATUS_NOT_SUPPORTED is returned.
9.9 HsiSetSlotReset
Prototype:
HSI_STATUS
HsiSetSlotReset(
IN HSI_SLOT_CONTROL_HANDLE Handle,
IN UINT32 Slot,
IN BOOLEAN Reset );
Arguments:
Handle - The handle of the current session
Slot - The physical slot number