Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7653
b: refs/heads/master
c: d6db3e8
h: refs/heads/master
i:
  7651: 07bd92b
v: v3
  • Loading branch information
Christoph Hellwig authored and James Bottomley committed Aug 2, 2005
1 parent 8c4e8d9 commit 898fa61
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2b55cac3d2d9f545c141748d00eae86e2c042ca5
refs/heads/master: d6db3e8d5fe3178776d0a0314e612c3f55e55fb4
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/qla1280.c
Original file line number Diff line number Diff line change
Expand Up @@ -4049,7 +4049,7 @@ qla1280_status_entry(struct scsi_qla_host *ha, struct response *pkt,
/* Save ISP completion status */
CMD_RESULT(cmd) = qla1280_return_status(pkt, cmd);

if (scsi_status & SS_CHECK_CONDITION) {
if (scsi_status & SAM_STAT_CHECK_CONDITION) {
if (comp_status != CS_ARS_FAILED) {
uint16_t req_sense_length =
le16_to_cpu(pkt->req_sense_length);
Expand Down
8 changes: 0 additions & 8 deletions trunk/drivers/scsi/qla1280.h
Original file line number Diff line number Diff line change
Expand Up @@ -978,14 +978,6 @@ struct ctio_a64_ret_entry {
#define CS_UNKNOWN 0x81 /* Driver defined */
#define CS_RETRY 0x82 /* Driver defined */

/*
* ISP status entry - SCSI status byte bit definitions.
*/
#define SS_CHECK_CONDITION BIT_1
#define SS_CONDITION_MET BIT_2
#define SS_BUSY_CONDITION BIT_3
#define SS_RESERVE_CONFLICT (BIT_4 | BIT_3)

/*
* ISP target entries - Option flags bit definitions.
*/
Expand Down

0 comments on commit 898fa61

Please sign in to comment.