aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/ipr.c3
-rw-r--r--drivers/scsi/ipr.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
index 0621238fac4a..37790c073c28 100644
--- a/drivers/scsi/ipr.c
+++ b/drivers/scsi/ipr.c
@@ -5773,7 +5773,8 @@ static int ipr_queuecommand_lck(struct scsi_cmnd *scsi_cmd,
5773 } 5773 }
5774 5774
5775 ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_NO_LINK_DESC; 5775 ioarcb->cmd_pkt.flags_hi |= IPR_FLAGS_HI_NO_LINK_DESC;
5776 ioarcb->cmd_pkt.flags_lo |= IPR_FLAGS_LO_DELAY_AFTER_RST; 5776 if (ipr_is_gscsi(res))
5777 ioarcb->cmd_pkt.flags_lo |= IPR_FLAGS_LO_DELAY_AFTER_RST;
5777 ioarcb->cmd_pkt.flags_lo |= IPR_FLAGS_LO_ALIGNED_BFR; 5778 ioarcb->cmd_pkt.flags_lo |= IPR_FLAGS_LO_ALIGNED_BFR;
5778 ioarcb->cmd_pkt.flags_lo |= ipr_get_task_attributes(scsi_cmd); 5779 ioarcb->cmd_pkt.flags_lo |= ipr_get_task_attributes(scsi_cmd);
5779 } 5780 }
diff --git a/drivers/scsi/ipr.h b/drivers/scsi/ipr.h
index 13f425fb8851..11b2dac71ab3 100644
--- a/drivers/scsi/ipr.h
+++ b/drivers/scsi/ipr.h
@@ -474,7 +474,7 @@ struct ipr_cmd_pkt {
474 474
475 u8 flags_lo; 475 u8 flags_lo;
476#define IPR_FLAGS_LO_ALIGNED_BFR 0x20 476#define IPR_FLAGS_LO_ALIGNED_BFR 0x20
477#define IPR_FLAGS_LO_DELAY_AFTER_RST 0x10 477#define IPR_FLAGS_LO_DELAY_AFTER_RST 0x10
478#define IPR_FLAGS_LO_UNTAGGED_TASK 0x00 478#define IPR_FLAGS_LO_UNTAGGED_TASK 0x00
479#define IPR_FLAGS_LO_SIMPLE_TASK 0x02 479#define IPR_FLAGS_LO_SIMPLE_TASK 0x02
480#define IPR_FLAGS_LO_ORDERED_TASK 0x04 480#define IPR_FLAGS_LO_ORDERED_TASK 0x04