summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ibmvscsi/viosrp.h
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2008-05-19 17:27:56 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-05-27 18:10:57 +0200
commitca61668b82a902143997794aae3f681a602e6ebc (patch)
tree06b5ba6df7b967faf7f8d25c3df1813fdff7126b /drivers/scsi/ibmvscsi/viosrp.h
parent[SCSI] fusion mpt: fix target missing after resetting external raid (diff)
downloadlinux-ca61668b82a902143997794aae3f681a602e6ebc.tar.xz
linux-ca61668b82a902143997794aae3f681a602e6ebc.zip
[SCSI] ibmvscsi: Non SCSI error status fixup
Some versions of the Virtual I/O Server on Power return 0x99 in the non-SCSI error status field as success, rather than 0. This fixes the ibmvscsi driver to treat this response as success. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/ibmvscsi/viosrp.h')
-rw-r--r--drivers/scsi/ibmvscsi/viosrp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/ibmvscsi/viosrp.h b/drivers/scsi/ibmvscsi/viosrp.h
index 4c4aadb3e405..204604501ad8 100644
--- a/drivers/scsi/ibmvscsi/viosrp.h
+++ b/drivers/scsi/ibmvscsi/viosrp.h
@@ -65,7 +65,8 @@ enum viosrp_crq_status {
VIOSRP_VIOLATES_MAX_XFER = 0x2,
VIOSRP_PARTNER_PANIC = 0x3,
VIOSRP_DEVICE_BUSY = 0x8,
- VIOSRP_ADAPTER_FAIL = 0x10
+ VIOSRP_ADAPTER_FAIL = 0x10,
+ VIOSRP_OK2 = 0x99,
};
struct viosrp_crq {