1KICKSTART(9)                 Message-based devices                KICKSTART(9)
2
3
4

NAME

6       KickStart - Perform hard reset of MPT adapter.
7

SYNOPSIS

9       int KickStart(MPT_ADAPTER * ioc, int force, int sleepFlag);
10

ARGUMENTS

12       ioc
13           Pointer to MPT_ADAPTER structure
14
15       force
16           Force hard reset
17
18       sleepFlag
19           Specifies whether the process can sleep
20

DESCRIPTION

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

INPUTS

27       sleepflag - CAN_SLEEP (non-interrupt thread) or NO_SLEEP (interrupt
28       thread, use mdelay) force - 1 if doorbell active, board fault state
29       board operational, IOC_RECOVERY or IOC_BRINGUP and there is an alt_ioc.
30       0 else
31

RETURNS

33       1 - hard reset, READY 0 - no reset due to History bit, READY -1 - no
34       reset due to History bit but not READY OR reset but failed to come
35       READY -2 - no reset, could not enter DIAG mode -3 - reset but bad FW
36       bit
37
39Kernel Hackers Manual 2.6.       November 2011                    KICKSTART(9)
Impressum