Skip to content

Commit

Permalink
[SCSI] qla4xxx: updated device id check for BFS.
Browse files Browse the repository at this point in the history
JIRA Key: UPSISCSI-75

Signed-off-by: Manish Rangankar <manish.rangankar@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
  • Loading branch information
Manish Rangankar authored and James Bottomley committed Oct 16, 2011
1 parent 69ca216 commit 0d5b36b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions drivers/scsi/qla4xxx/ql4_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -2782,12 +2782,10 @@ static int get_fw_boot_info(struct scsi_qla_host *ha, uint16_t ddb_index[])

func_num = PCI_FUNC(ha->pdev->devfn);

DEBUG2(ql4_printk(KERN_INFO, ha,
"%s: Get FW boot info for 0x%x func %d\n", __func__,
(is_qla4032(ha) ? PCI_DEVICE_ID_QLOGIC_ISP4032 :
PCI_DEVICE_ID_QLOGIC_ISP8022), func_num));
ql4_printk(KERN_INFO, ha, "%s: Get FW boot info for 0x%x func %d\n",
__func__, ha->pdev->device, func_num);

if (is_qla4032(ha)) {
if (is_qla40XX(ha)) {
if (func_num == 1) {
addr = NVRAM_PORT0_BOOT_MODE;
pri_addr = NVRAM_PORT0_BOOT_PRI_TGT;
Expand Down

0 comments on commit 0d5b36b

Please sign in to comment.