86 High Availability Software for the Intel® NetStructureTM ZT 4901 Technical Product Specification
Slot Control API
Return Value:
HSI_STATUS_SUCCESS if successful
HSI_STATUS_INVALID_PARAMETER
returned if the handle passed as a parameter is invalid
Other HSI_STATUS values
returned if other errors occurred during execution of this function
Synopsis:
This function is called by a client to terminate a logical session between the client and the Hot
Swap Controller driver, established by the call to HsiOpenSlotControl(). Upon return, the handle is
no longer valid.
9.3 HsiGetSlotCount
Prototype:
HSI_STATUS
HsiGetSlotCount(
IN HSI_SLOT_CONTROL_HANDLE Handle,
OUT UINT32 *pC ount)
Arguments:
Handle - The handle of the current session
pCount - Pointer to the location where the number of physical slots is placed
Return Value:
HSI_STATUS_SUCCESS if successful
HSI_STATUS_INVALID_PARAMETER
returned if the handle passed as a parameter is invalid
Other HSI_STATUS values
returned if other errors occurred during execution of this function
Synopsis:
A client calls this function to retrieve the number of physical slots managed by the Hot Swap
Controller. The physical slots are the same as geographical CompactPCI addresses and are
numbered from 1 to this number, inclusive. However, the slot numbers need not be consecutive;
there may be gaps in the sequence of physical slot numbers.
9.4 HsiGetBoardPresent
Prototype: