1. NAME

mpt_Soft_Hard_ResetHandler - Try less expensive reset

2. SYNOPSIS

int mpt_Soft_Hard_ResetHandler(MPT_ADAPTER *  ioc , int  sleepFlag );

3. ARGUMENTS

ioc
    Pointer to MPT_ADAPTER structure

sleepFlag
    Indicates if sleep or schedule must be called.

4. DESCRIPTION

Returns 0 for SUCCESS or -1 if FAILED. Try for softreset first, only if it fails go for expensive HardReset.

5. COPYRIGHT