提交 0d5b36b8 编写于 作者: M Manish Rangankar 提交者: James Bottomley

[SCSI] qla4xxx: updated device id check for BFS.

JIRA Key: UPSISCSI-75
Signed-off-by: NManish Rangankar <manish.rangankar@qlogic.com>
Signed-off-by: NVikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: NMike Christie <michaelc@cs.wisc.edu>
Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
上级 69ca216e
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册