mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-23 13:41:27 +00:00
The LSI SCST driver does not forward ABORT TASK SET task management messages to SCST. This patch fixes that.
Signed-off-by: Erik Habbinga <erikhabbinga@inphase-tech.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@449 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1842,7 +1842,8 @@ mpt_local_task_mgmt(struct mpt_sess *sess, int task_mgmt, int lun)
|
||||
case IMM_NTFY_LUN_RESET1:
|
||||
case IMM_NTFY_LUN_RESET2:
|
||||
case IMM_NTFY_CLEAR_TS:
|
||||
case IMM_NTFY_ABORT_TS:
|
||||
case IMM_NTFY_ABORT_TS1:
|
||||
case IMM_NTFY_ABORT_TS2:
|
||||
list_for_each_entry_safe(cmd, t, &sess->delayed_cmds,
|
||||
delayed_cmds_entry)
|
||||
{
|
||||
@@ -1933,7 +1934,8 @@ mpt_handle_task_mgmt(MPT_STM_PRIV *priv, u32 reply_word,
|
||||
SCST_ATOMIC, mcmd);
|
||||
break;
|
||||
|
||||
case IMM_NTFY_ABORT_TS:
|
||||
case IMM_NTFY_ABORT_TS1:
|
||||
case IMM_NTFY_ABORT_TS2:
|
||||
TRACE(TRACE_MGMT, "%s", "IMM_NTFY_ABORT_TS received");
|
||||
rc = scst_rx_mgmt_fn_lun(sess->scst_sess, SCST_ABORT_TASK_SET,
|
||||
(uint8_t *)&lun, sizeof(lun),
|
||||
|
||||
@@ -310,7 +310,8 @@ typedef struct _MPT_STM_PRIV
|
||||
#define IMM_NTFY_MSG_RX 0x0036
|
||||
|
||||
/* Immediate notify task flags */
|
||||
#define IMM_NTFY_ABORT_TS 0x01
|
||||
#define IMM_NTFY_ABORT_TS1 0x01
|
||||
#define IMM_NTFY_ABORT_TS2 0x02
|
||||
#define IMM_NTFY_CLEAR_TS 0x04
|
||||
#define IMM_NTFY_LUN_RESET1 0x08
|
||||
#define IMM_NTFY_LUN_RESET2 0x10
|
||||
|
||||
Reference in New Issue
Block a user