Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent 823c535f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2271,7 +2271,7 @@ qla2x00_set_isp_flags(struct qla_hw_data *ha)
	}

	if (IS_QLA82XX(ha))
		ha->port_no = !(ha->portnum & 1);
		ha->port_no = ha->portnum & 1;
	else {
		/* Get adapter physical port no from interrupt pin register. */
		pci_read_config_byte(ha->pdev, PCI_INTERRUPT_PIN, &ha->port_no);