[SCSI] qla2xxx: Correct the port no assignment for ISP82XX.
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:
parent
823c535f21
commit
43a9c38bf3
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue