summaryrefslogtreecommitdiff
path: root/drivers/scsi/ibmvscsi/ibmvfc.h
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2008-11-14 13:33:53 -0600
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-12-29 11:24:18 -0600
commit646d3857b95e8e310aae7a4594f43d7f3b100a1f (patch)
tree44423484257e5fb85fbddac81c116e45cb944664 /drivers/scsi/ibmvscsi/ibmvfc.h
parent5919ce29085f4ca080054fde5feef8f8b3405261 (diff)
downloadlwn-646d3857b95e8e310aae7a4594f43d7f3b100a1f.tar.gz
lwn-646d3857b95e8e310aae7a4594f43d7f3b100a1f.zip
[SCSI] ibmvfc: Handle port login required response
The virtual fibre channel stack can return a failure response for a command indicating the port login has been invalidated without sending the client an async event. Add code to handle this response and initiate a PLOGI. 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/ibmvfc.h')
-rw-r--r--drivers/scsi/ibmvscsi/ibmvfc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvfc.h b/drivers/scsi/ibmvscsi/ibmvfc.h
index 526bca743c81..6b86e1f69f69 100644
--- a/drivers/scsi/ibmvscsi/ibmvfc.h
+++ b/drivers/scsi/ibmvscsi/ibmvfc.h
@@ -109,6 +109,7 @@ enum ibmvfc_vios_errors {
IBMVFC_TRANS_CANCELLED = 0x0006,
IBMVFC_TRANS_CANCELLED_IMPLICIT = 0x0007,
IBMVFC_INSUFFICIENT_RESOURCE = 0x0008,
+ IBMVFC_PLOGI_REQUIRED = 0x0010,
IBMVFC_COMMAND_FAILED = 0x8000,
};