Skip to content

Commit

Permalink
[SCSI] qla2xxx: Don't call alloc_fw_dump for ISP82XX.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Saurav Kashyap authored and James Bottomley committed Dec 12, 2011
1 parent 4e85e3d commit be5ea3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/scsi/qla2xxx/qla_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1509,7 +1509,8 @@ qla2x00_setup_chip(scsi_qla_host_t *vha)
&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 {
Expand Down

0 comments on commit be5ea3c

Please sign in to comment.