[SCSI] qla2xxx: Don't call alloc_fw_dump for ISP82XX.
authorSaurav Kashyap <saurav.kashyap@qlogic.com>
Fri, 18 Nov 2011 17:02:11 +0000 (09:02 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 12 Dec 2011 08:33:50 +0000 (12:33 +0400)
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_init.c

index f03e915..54ea68c 100644 (file)
@@ -1509,7 +1509,8 @@ enable_82xx_npiv:
                                    &ha->fw_xcb_count, NULL, NULL,
                                    &ha->max_npiv_vports, NULL);
 
-                               if (!fw_major_version && ql2xallocfwdump)
+                               if (!fw_major_version && ql2xallocfwdump
+                                   && !IS_QLA82XX(ha))
                                        qla2x00_alloc_fw_dump(vha);
                        }
                } else {