aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/isci/core/scic_sds_stp_request.c2
-rw-r--r--drivers/scsi/isci/core/scu_completion_codes.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/isci/core/scic_sds_stp_request.c b/drivers/scsi/isci/core/scic_sds_stp_request.c
index 0b6b0552186..6d280c0a2fc 100644
--- a/drivers/scsi/isci/core/scic_sds_stp_request.c
+++ b/drivers/scsi/isci/core/scic_sds_stp_request.c
@@ -1602,9 +1602,11 @@ static enum sci_status scic_sds_stp_request_udma_await_tc_completion_tc_completi
1602 /* 1602 /*
1603 * / @todo Check to see if any of these completion status need to wait for 1603 * / @todo Check to see if any of these completion status need to wait for
1604 * / the device to host register fis. */ 1604 * / the device to host register fis. */
1605 /* / @todo We can retry the command for SCU_TASK_DONE_CMD_LL_R_ERR - this comes only for B0 */
1605 case SCU_MAKE_COMPLETION_STATUS(SCU_TASK_DONE_INV_FIS_LEN): 1606 case SCU_MAKE_COMPLETION_STATUS(SCU_TASK_DONE_INV_FIS_LEN):
1606 case SCU_MAKE_COMPLETION_STATUS(SCU_TASK_DONE_MAX_PLD_ERR): 1607 case SCU_MAKE_COMPLETION_STATUS(SCU_TASK_DONE_MAX_PLD_ERR):
1607 case SCU_MAKE_COMPLETION_STATUS(SCU_TASK_DONE_LL_R_ERR): 1608 case SCU_MAKE_COMPLETION_STATUS(SCU_TASK_DONE_LL_R_ERR):
1609 case SCU_MAKE_COMPLETION_STATUS(SCU_TASK_DONE_CMD_LL_R_ERR):
1608 case SCU_MAKE_COMPLETION_STATUS(SCU_TASK_DONE_CRC_ERR): 1610 case SCU_MAKE_COMPLETION_STATUS(SCU_TASK_DONE_CRC_ERR):
1609 scic_sds_remote_device_suspend( 1611 scic_sds_remote_device_suspend(
1610 this_request->parent.target_device, 1612 this_request->parent.target_device,
diff --git a/drivers/scsi/isci/core/scu_completion_codes.h b/drivers/scsi/isci/core/scu_completion_codes.h
index 17ee4c8b912..c8b329c695f 100644
--- a/drivers/scsi/isci/core/scu_completion_codes.h
+++ b/drivers/scsi/isci/core/scu_completion_codes.h
@@ -228,6 +228,7 @@
228#define SCU_TASK_DONE_CHECK_RESPONSE ((u32)0x14) 228#define SCU_TASK_DONE_CHECK_RESPONSE ((u32)0x14)
229#define SCU_TASK_DONE_GEN_RESPONSE ((u32)0x15) 229#define SCU_TASK_DONE_GEN_RESPONSE ((u32)0x15)
230#define SCU_TASK_DONE_NAK_CMD_ERR ((u32)0x16) 230#define SCU_TASK_DONE_NAK_CMD_ERR ((u32)0x16)
231#define SCU_TASK_DONE_CMD_LL_R_ERR ((u32)0x16)
231#define SCU_TASK_DONE_LL_R_ERR ((u32)0x17) 232#define SCU_TASK_DONE_LL_R_ERR ((u32)0x17)
232#define SCU_TASK_DONE_ACK_NAK_TO ((u32)0x17) 233#define SCU_TASK_DONE_ACK_NAK_TO ((u32)0x17)
233#define SCU_TASK_DONE_LL_PERR ((u32)0x18) 234#define SCU_TASK_DONE_LL_PERR ((u32)0x18)
@@ -264,6 +265,8 @@
264#define SCU_TASK_DONE_REG_ERR ((u32)0x2E) 265#define SCU_TASK_DONE_REG_ERR ((u32)0x2E)
265#define SCU_TASK_DONE_SDB_ERR ((u32)0x2F) 266#define SCU_TASK_DONE_SDB_ERR ((u32)0x2F)
266#define SCU_TASK_DONE_TASK_ABORT ((u32)0x30) 267#define SCU_TASK_DONE_TASK_ABORT ((u32)0x30)
268#define SCU_TASK_DONE_CMD_SDMA_ERR ((U32)0x32)
269#define SCU_TASK_DONE_CMD_LL_ABORT_ERR ((U32)0x33)
267#define SCU_TASK_OPEN_REJECT_WRONG_DESTINATION ((u32)0x34) 270#define SCU_TASK_OPEN_REJECT_WRONG_DESTINATION ((u32)0x34)
268#define SCU_TASK_OPEN_REJECT_RESERVED_ABANDON_1 ((u32)0x35) 271#define SCU_TASK_OPEN_REJECT_RESERVED_ABANDON_1 ((u32)0x35)
269#define SCU_TASK_OPEN_REJECT_RESERVED_ABANDON_2 ((u32)0x36) 272#define SCU_TASK_OPEN_REJECT_RESERVED_ABANDON_2 ((u32)0x36)