summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ibmvscsi/viosrp.h
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2008-04-25 16:58:29 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-04-29 19:42:32 -0500
commitc3a3b55ae80a0d595445064159c69f8e80911e85 (patch)
tree34ee20d6ab5b3624bb0a3d6d4749314cf1e8d079 /drivers/scsi/ibmvscsi/viosrp.h
parent61d7416a286e840d905c18b1e6b0977c036c8656 (diff)
downloadblackbird-op-linux-c3a3b55ae80a0d595445064159c69f8e80911e85.tar.gz
blackbird-op-linux-c3a3b55ae80a0d595445064159c69f8e80911e85.zip
[SCSI] ibmvscsi: Handle non SCSI error status
Adds support to the ibmvscsi driver to handle non SCSI error status. This is needed to support some new VIOS enhancements. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: Santiago Leon <santil@us.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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/scsi/ibmvscsi/viosrp.h b/drivers/scsi/ibmvscsi/viosrp.h
index 90f1a61283ad..4c4aadb3e405 100644
--- a/drivers/scsi/ibmvscsi/viosrp.h
+++ b/drivers/scsi/ibmvscsi/viosrp.h
@@ -59,6 +59,15 @@ enum viosrp_crq_formats {
VIOSRP_INLINE_FORMAT = 0x07
};
+enum viosrp_crq_status {
+ VIOSRP_OK = 0x0,
+ VIOSRP_NONRECOVERABLE_ERR = 0x1,
+ VIOSRP_VIOLATES_MAX_XFER = 0x2,
+ VIOSRP_PARTNER_PANIC = 0x3,
+ VIOSRP_DEVICE_BUSY = 0x8,
+ VIOSRP_ADAPTER_FAIL = 0x10
+};
+
struct viosrp_crq {
u8 valid; /* used by RPA */
u8 format; /* SCSI vs out-of-band */
OpenPOWER on IntegriCloud