1MPTSCSIH_ISSUETASKMG(9) Message-based devices MPTSCSIH_ISSUETASKMG(9)
2
3
4
6 mptscsih_IssueTaskMgmt - Generic send Task Management function.
7
9 int mptscsih_IssueTaskMgmt(MPT_SCSI_HOST * hd, u8 type, u8 channel,
10 u8 id, int lun, int ctx2abort,
11 ulong timeout);
12
14 hd
15 Pointer to MPT_SCSI_HOST structure
16
17 type
18 Task Management type
19
20 channel
21 channel number for task management
22
23 id
24 Logical Target ID for reset (if appropriate)
25
26 lun
27 Logical Unit for reset (if appropriate)
28
29 ctx2abort
30 Context for the task to be aborted (if appropriate)
31
32 timeout
33 timeout for task management control
34
36 _HardResetHandler can be invoked from an interrupt thread (timer) or a
37 non-interrupt thread. In the former, must not call schedule.
38
39 Not all fields are meaningfull for all task types.
40
41 Returns 0 for SUCCESS, or FAILED.
42
44Kernel Hackers Manual 3.10 June 2019 MPTSCSIH_ISSUETASKMG(9)