diff options
-rw-r--r-- | drivers/scsi/qla1280.c | 2 | ||||
-rw-r--r-- | drivers/scsi/qla1280.h | 8 |
2 files changed, 1 insertions, 9 deletions
diff --git a/drivers/scsi/qla1280.c b/drivers/scsi/qla1280.c index e5354550d762..3732230b2e3a 100644 --- a/drivers/scsi/qla1280.c +++ b/drivers/scsi/qla1280.c | |||
@@ -4049,7 +4049,7 @@ qla1280_status_entry(struct scsi_qla_host *ha, struct response *pkt, | |||
4049 | /* Save ISP completion status */ | 4049 | /* Save ISP completion status */ |
4050 | CMD_RESULT(cmd) = qla1280_return_status(pkt, cmd); | 4050 | CMD_RESULT(cmd) = qla1280_return_status(pkt, cmd); |
4051 | 4051 | ||
4052 | if (scsi_status & SS_CHECK_CONDITION) { | 4052 | if (scsi_status & SAM_STAT_CHECK_CONDITION) { |
4053 | if (comp_status != CS_ARS_FAILED) { | 4053 | if (comp_status != CS_ARS_FAILED) { |
4054 | uint16_t req_sense_length = | 4054 | uint16_t req_sense_length = |
4055 | le16_to_cpu(pkt->req_sense_length); | 4055 | le16_to_cpu(pkt->req_sense_length); |
diff --git a/drivers/scsi/qla1280.h b/drivers/scsi/qla1280.h index 1c1cf3a5af03..0d430d63be40 100644 --- a/drivers/scsi/qla1280.h +++ b/drivers/scsi/qla1280.h | |||
@@ -979,14 +979,6 @@ struct ctio_a64_ret_entry { | |||
979 | #define CS_RETRY 0x82 /* Driver defined */ | 979 | #define CS_RETRY 0x82 /* Driver defined */ |
980 | 980 | ||
981 | /* | 981 | /* |
982 | * ISP status entry - SCSI status byte bit definitions. | ||
983 | */ | ||
984 | #define SS_CHECK_CONDITION BIT_1 | ||
985 | #define SS_CONDITION_MET BIT_2 | ||
986 | #define SS_BUSY_CONDITION BIT_3 | ||
987 | #define SS_RESERVE_CONFLICT (BIT_4 | BIT_3) | ||
988 | |||
989 | /* | ||
990 | * ISP target entries - Option flags bit definitions. | 982 | * ISP target entries - Option flags bit definitions. |
991 | */ | 983 | */ |
992 | #define OF_ENABLE_TAG BIT_1 /* Tagged queue action enable */ | 984 | #define OF_ENABLE_TAG BIT_1 /* Tagged queue action enable */ |