---
name: "WaitForDoorbellAck"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/WaitForDoorbellAck"
---

# WaitForDoorbellAck(9)

Wait for IOC doorbell handshake acknowledge

## NAME

WaitForDoorbellAck - Wait for IOC doorbell handshake acknowledge

## SYNOPSIS

**int WaitForDoorbellAck(MPT\_ADAPTER \*** *ioc***, int** *howlong***, int** *sleepFlag***);**

## ARGUMENTS

*ioc*

Pointer to MPT\_ADAPTER structure

*howlong*

How long to wait (in seconds)

*sleepFlag*

Specifies whether the process can sleep

## DESCRIPTION

This routine waits (up to ~2 seconds max) for IOC doorbell handshake ACKnowledge, indicated by the IOP\_DOORBELL\_STATUS bit in its IntStatus register being clear.

Returns a negative value on failure, else wait loop count.

## COPYRIGHT
