Commit bb6f7d5b authored by Karen Higgins's avatar Karen Higgins Committed by James Bottomley
Browse files

[SCSI] qla4xxx: wait for device_ready before device discovery

Signed-off-by: default avatarKaren Higgins <>
Signed-off-by: default avatarVikas Chaudhary <>
Reviewed-by: default avatarMike Christie <>
Signed-off-by: default avatarJames Bottomley <>
parent c2660df3
......@@ -991,6 +991,9 @@ static int qla4xxx_initialize_ddb_list(struct scsi_qla_host *ha)
/* Wait for an AEN */
* First perform device discovery for active
* fw ddb indexes and build
......@@ -999,9 +1002,6 @@ static int qla4xxx_initialize_ddb_list(struct scsi_qla_host *ha)
if ((status = qla4xxx_build_ddb_list(ha)) == QLA_ERROR)
return status;
/* Wait for an AEN */
* Targets can come online after the inital discovery, so processing
* the aens here will catch them.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment