1. NAME

WaitForDoorbellReply - Wait for and capture an IOC handshake reply.

2. SYNOPSIS

int WaitForDoorbellReply(MPT_ADAPTER *  ioc , int  howlong , int  sleepFlag );

3. ARGUMENTS

ioc
    Pointer to MPT_ADAPTER structure

howlong
    How long to wait (in seconds)

sleepFlag
    Specifies whether the process can sleep

4. DESCRIPTION

This routine polls the IOC for a handshake reply, 16 bits at a time. Reply is cached to IOC private area large enough to hold a maximum of 128 bytes of reply data.

Returns a negative value on failure, else size of reply in WORDS.

5. COPYRIGHT