Slot Control API

This function controls the state of the M66EN signal line for the specified slot (reflecting whether or not 66 MHz operation is enabled for the specified slot), depending on the value of the parameter M66Enable. M66Enable = TRUE means that the signal line is not driven by the Hot Swap Controller (potentially enabling 66 MHz operation for the slot); M66Enable = FALSE means that the signal is driven low by the Hot Swap Controller (disabling 66 MHz operation for the slot).

9.12HsiSetSlotEventCallback

Prototype:

HSI_STATUS

HsiSetSlotEventCallback(

IN HSI_SLOT_CONTROL_HANDLE Handle,

IN HSI_SLOT_EVENT_CALLBACK Callback,

IN void *pContext )

Arguments:

 

Handle -

The handle of the current session

Callback -

Address of the callback function that is called in the case of a Hot Swap

 

Control event. Pass NULL to cancel the callback registration.

pContext -

Opaque context pointer. This value is passed unchanged to the callback

 

function.

Return Value:

 

HSI_STATUS_SUCCESS

if successful

HSI_STATUS_INVALID_PARAMETER

returned if the arguments or handle is invalid

HSI_STATUS_NOT_SUPPORTED

returned if slot event functionality is not implemented for the given platform

Other HSI_STATUS values

returned if other errors occurred during execution of this function

Synopsis:

This function registers or unregisters a client callback function that is called by the HA Slot Control Driver in the case of one of the following events:

State of one of the slots changes: a board is inserted or extracted, board health state changes, etc.

Hardware error is detected in the Hot Swap Controller.

To register the callback, the client should call this function with a valid, non-zero callback address and an opaque context pointer. To unregister the callback, the client should call this function with NULL as the callback address; the context pointer is ignored in that case and may be any value.

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

93

Page 93
Image 93
Intel ZT 4901 manual HsiSetSlotEventCallback, Handle Handle of the current session Callback, Function