Commit 43a9c38b authored by Saurav Kashyap's avatar Saurav Kashyap Committed by James Bottomley

[SCSI] qla2xxx: Correct the port no assignment for ISP82XX.

Signed-off-by: default avatarGiridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: default avatarSaurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 823c535f
...@@ -2271,7 +2271,7 @@ qla2x00_set_isp_flags(struct qla_hw_data *ha) ...@@ -2271,7 +2271,7 @@ qla2x00_set_isp_flags(struct qla_hw_data *ha)
} }
if (IS_QLA82XX(ha)) if (IS_QLA82XX(ha))
ha->port_no = !(ha->portnum & 1); ha->port_no = ha->portnum & 1;
else { else {
/* Get adapter physical port no from interrupt pin register. */ /* Get adapter physical port no from interrupt pin register. */
pci_read_config_byte(ha->pdev, PCI_INTERRUPT_PIN, &ha->port_no); pci_read_config_byte(ha->pdev, PCI_INTERRUPT_PIN, &ha->port_no);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment