---
name: "KickStart"
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/KickStart"
---

# KickStart(9)

Perform hard reset of MPT adapter.

## NAME

KickStart - Perform hard reset of MPT adapter.

## SYNOPSIS

**int KickStart(MPT\_ADAPTER \*** *ioc***, int** *force***, int** *sleepFlag***);**

## ARGUMENTS

*ioc*

Pointer to MPT\_ADAPTER structure

*force*

Force hard reset

*sleepFlag*

Specifies whether the process can sleep

## DESCRIPTION

This routine places MPT adapter in diagnostic mode via the WriteSequence register, and then performs a hard reset of adapter via the Diagnostic register.

## INPUTS

sleepflag - CAN\_SLEEP (non-interrupt thread) or NO\_SLEEP (interrupt thread, use mdelay) force - 1 if doorbell active, board fault state board operational, IOC\_RECOVERY or IOC\_BRINGUP and there is an alt\_ioc. 0 else

## RETURNS

1 - hard reset, READY 0 - no reset due to History bit, READY -1 - no reset due to History bit but not READY OR reset but failed to come READY -2 - no reset, could not enter DIAG mode -3 - reset but bad FW bit

## COPYRIGHT
