diff options
author | Ravi Anand <ravi.anand@qlogic.com> | 2005-11-08 14:37:20 -0800 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-11-09 16:18:27 -0500 |
commit | 33135aa2a568ec1a30e734f18e5315e10516e4f3 (patch) | |
tree | a039e0eb265bfd8b4bcb56d4c912c6e111071fa3 /drivers/scsi/qla2xxx/qla_mbx.c | |
parent | dcb36ce9d9100eb821c6ea314b02f215cbdd8aca (diff) | |
download | kernel_samsung_espresso10-33135aa2a568ec1a30e734f18e5315e10516e4f3.zip kernel_samsung_espresso10-33135aa2a568ec1a30e734f18e5315e10516e4f3.tar.gz kernel_samsung_espresso10-33135aa2a568ec1a30e734f18e5315e10516e4f3.tar.bz2 |
[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 ad3cacb..0e963bf 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]; |