1MPT_HARDRESETHANDLER(9) Message-based devices MPT_HARDRESETHANDLER(9)
2
3
4
6 mpt_HardResetHandler - Generic reset handler
7
9 int mpt_HardResetHandler(MPT_ADAPTER * ioc, int sleepFlag);
10
12 ioc
13 Pointer to MPT_ADAPTER structure
14
15 sleepFlag
16 Indicates if sleep or schedule must be called.
17
19 Issues SCSI Task Management call based on input arg values. If TaskMgmt
20 fails, returns associated SCSI request.
21
23 _HardResetHandler can be invoked from an interrupt thread (timer) or a
24 non-interrupt thread. In the former, must not call schedule.
25
27 A return of -1 is a FATAL error case, as it means a FW
28 reload/initialization failed.
29
30 Returns 0 for SUCCESS or -1 if FAILED.
31
33Kernel Hackers Manual 2.6. November 2011 MPT_HARDRESETHANDLER(9)