Skip to content

Commit

Permalink
[SCSI] qla2xxx: Correct the port no assignment for ISP82XX.
Browse files Browse the repository at this point in the history
Signed-off-by: Giridhar Malavali <[email protected]>
Signed-off-by: Saurav Kashyap <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
  • Loading branch information
Saurav Kashyap authored and James Bottomley committed Mar 15, 2014
1 parent 823c535 commit 43a9c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/qla2xxx/qla_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 43a9c38

Please sign in to comment.