mptscsih_TMHandler — Generic handler for SCSI Task Management.
int mptscsih_TMHandler
(MPT_SCSI_HOST * hd, u8 type, u8 channel, u8 id, int lun, int ctx2abort, ulong timeout);
Pointer to MPT SCSI HOST structure
Task Management type
channel number for task management
Logical Target ID for reset (if appropriate)
Logical Unit for reset (if appropriate)
Context for the task to be aborted (if appropriate)
timeout for task management control
not operational, too many failed TM requests or handshake failure.
Currently invoked from a non-interrupt thread (_bh).
With old EH code, at most 1 SCSI TaskMgmt function per IOC will be active.
Returns 0 for SUCCESS, or FAILED.