diff options
author | Saurav Kashyap <saurav.kashyap@qlogic.com> | 2014-02-26 09:15:16 (GMT) |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2014-03-15 17:18:52 (GMT) |
commit | 43a9c38bf3867f4626107e17255db8c6a4bb16fc (patch) | |
tree | 370c3a03d1476807e1849bda16505f191df39efd /drivers/scsi/qla2xxx | |
parent | 823c535f2169b755a77a413d5f957e9457c22cb3 (diff) | |
download | linux-43a9c38bf3867f4626107e17255db8c6a4bb16fc.tar.xz |
[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>
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 61d42af..7b54e0a 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c @@ -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); |