The LSI SCST driver does not forward ABORT TASK SET task management messages to SCST...
authorvlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Wed, 9 Jul 2008 17:38:34 +0000 (17:38 +0000)
committervlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Wed, 9 Jul 2008 17:38:34 +0000 (17:38 +0000)
Signed-off-by: Erik Habbinga <erikhabbinga@inphase-tech.com>
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@449 d57e44dd-8a1f-0410-8b47-8ef2f437770f

mpt/mpt_scst.c
mpt/mpt_scst.h

index 563f948..ad49fa6 100644 (file)
@@ -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),
index c243d67..36de523 100644 (file)
@@ -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