KickStart — Perform hard reset of MPT adapter.
int KickStart ( | MPT_ADAPTER * ioc, |
int force, | |
int sleepFlag) ; |
ioc
Pointer to MPT_ADAPTER structure
force
Force hard reset
sleepFlag
Specifies whether the process can sleep
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