diff options
author | Ravi Anand | 2005-11-08 23:37:20 +0100 |
---|---|---|
committer | James Bottomley | 2005-11-09 22:18:27 +0100 |
commit | 33135aa2a568ec1a30e734f18e5315e10516e4f3 (patch) | |
tree | a039e0eb265bfd8b4bcb56d4c912c6e111071fa3 /drivers/scsi/qla2xxx/qla_mbx.c | |
parent | [SCSI] qla2xxx: Correct additional posting issues during NVRAM accesses. (diff) | |
download | kernel-qcow2-linux-33135aa2a568ec1a30e734f18e5315e10516e4f3.tar.gz kernel-qcow2-linux-33135aa2a568ec1a30e734f18e5315e10516e4f3.tar.xz kernel-qcow2-linux-33135aa2a568ec1a30e734f18e5315e10516e4f3.zip |
[SCSI] qla2xxx: Correct loop-in-transition issues
When mulitple initiators are coming up in an FCAL topology.
Signed-off-by: Ravi Anand <ravi.anand@qlogic.com>
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_mbx.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_mbx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c index ad3cacb9192d..0e963bf9c568 100644 --- a/drivers/scsi/qla2xxx/qla_mbx.c +++ b/drivers/scsi/qla2xxx/qla_mbx.c @@ -1008,6 +1008,8 @@ qla2x00_get_adapter_id(scsi_qla_host_t *ha, uint16_t *id, uint8_t *al_pa, mcp->tov = 30; mcp->flags = 0; rval = qla2x00_mailbox_command(ha, mcp); + if (mcp->mb[0] == MBS_COMMAND_ERROR) + rval = QLA_COMMAND_ERROR; /* Return data. */ *id = mcp->mb[1]; |