centos man page for mpt_hardresethandler

Query: mpt_hardresethandler

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

MPT_HARDRESETHANDLER(9) 				       Message-based devices					   MPT_HARDRESETHANDLER(9)

NAME
mpt_HardResetHandler - Generic reset handler
SYNOPSIS
int mpt_HardResetHandler(MPT_ADAPTER * ioc, int sleepFlag);
ARGUMENTS
ioc Pointer to MPT_ADAPTER structure sleepFlag Indicates if sleep or schedule must be called.
DESCRIPTION
Issues SCSI Task Management call based on input arg values. If TaskMgmt fails, returns associated SCSI request.
REMARK
_HardResetHandler can be invoked from an interrupt thread (timer) or a non-interrupt thread. In the former, must not call schedule.
NOTE
A return of -1 is a FATAL error case, as it means a FW reload/initialization failed. Returns 0 for SUCCESS or -1 if FAILED.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 MPT_HARDRESETHANDLER(9)
Related Man Pages
request_threaded_irq(9) - suse
swi_add(9) - debian
swi_remove(9) - freebsd
swi(9) - hpux
swi(9) - osx
Similar Topics in the Unix Linux Community
How to increment version inside a file?
Tar Command
Controlling user input
[TIP] Processing YAML files with yq
Please Welcome Dave Munro to the Moderator Team!