]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
qla4xxx: Fixed BFS with sendtargets as boot index.
authorManish Rangankar <manish.rangankar@qlogic.com>
Fri, 2 Dec 2011 08:25:03 +0000 (13:55 +0530)
committerGuru Anbalagane <guru.anbalagane@oracle.com>
Thu, 12 Jan 2012 22:35:16 +0000 (14:35 -0800)
If ql4xdisablesysfsboot = 0 and sendtargets entry as boot index then
driver does export sendtarget entries in sysfs but iscsistart does not
do discovery. So in this case let driver do the discovery and
login to the targets.

JIRA Key: IUEKR2ISCSI-9

Signed-off-by: Manish Rangankar <manish.rangankar@qlogic.com>
Signed-off-by: Nilesh Javali <nilesh.javali@qlogic.com>
Signed-off-by: Tej Parkash <tej.parkash@qlogic.com>
drivers/scsi/qla4xxx/ql4_os.c

index f05e42ce8754e631b91abf664a3c3245c6b15873..bbe666987b9541837a3188102f308f6e06e5ea1e 100644 (file)
@@ -3974,9 +3974,6 @@ void qla4xxx_build_ddb_list(struct scsi_qla_host *ha, int is_reset)
                if (ret == QLA_ERROR)
                        break;
 
-               if (qla4xxx_verify_boot_idx(ha, idx) != QLA_SUCCESS)
-                       goto continue_next_st;
-
                /* Check if ST, add to the list_st */
                if (strlen((char *) fw_ddb_entry->iscsi_name) != 0)
                        goto continue_next_st;