Slot Control API

HSI_STATUS

HsiGetBoardPresent(

 

IN HSI_SLOT_CONTROL_HANDLE Handle,

 

IN UINT32 Slot,

 

OUT BOOLEAN *pPresent )

Arguments:

 

Handle -

The handle of the current session

Slot -

The physical slot number

pPresent -

Pointer to the location where the board presence flag is placed: TRUE

 

means a board is present in the slot; FALSE means no board is present in

 

the slot

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 presence status cannot be currently determined (the slot is powered)

Other HSI_STATUS values

returned if other errors occurred during execution of this function

Synopsis:

This function detects whether any board is present in the specified slot and returns the board presence status in the pPresent parameter. TRUE is returned if a board is present in the slot; FALSE is returned if no board is present in the slot.

Note: According to the Hot Swap Specification, if the slot power is on, it is not possible to detect whether the slot is occupied; this function returns status HSI_STATUS_NO_DATA_DETECTED in this case.

9.5HsiGetBoardHealthy

Prototype:

HSI_STATUS

HsiGetBoardHealthy(

IN HSI_SLOT_CONTROL_HANDLE Handle,

IN UINT32 Slot,

OUT BOOLEAN *pHealthy );

Arguments:

Handle -

The handle of the current session

High Availability Software for the Intel® NetStructureTM ZT 4901 Technical Product Specification

87

Page 87
Image 87
Intel ZT 4901 manual HsiGetBoardHealthy, Hsistatusnodatadetected