projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d545908
)
[SCSI] qla2xxx: Fix to make conditional decision based on port number.
author
Sarang Radke
<sarang.radke@qlogic.com>
Sat, 20 Mar 2010 00:04:01 +0000
(17:04 -0700)
committer
James Bottomley
<James.Bottomley@suse.de>
Sun, 11 Apr 2010 14:45:52 +0000
(09:45 -0500)
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla2xxx/qla_sup.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/qla2xxx/qla_sup.c
b/drivers/scsi/qla2xxx/qla_sup.c
index f32a4b032967ed64bc58dfeba21272709f55e1ef..e74552c8c5e1feceaea744387d36abe15c99fc78 100644
(file)
--- a/
drivers/scsi/qla2xxx/qla_sup.c
+++ b/
drivers/scsi/qla2xxx/qla_sup.c
@@
-739,11
+739,11
@@
qla2xxx_get_flt_info(scsi_qla_host_t *vha, uint32_t flt_addr)
ha->flt_region_gold_fw = start;
break;
case FLT_REG_FCP_PRIO_0:
- if (
!(PCI_FUNC(ha->pdev->devfn) & 1)
)
+ if (
ha->flags.port0
)
ha->flt_region_fcp_prio = start;
break;
case FLT_REG_FCP_PRIO_1:
- if (
PCI_FUNC(ha->pdev->devfn) & 1
)
+ if (
!ha->flags.port0
)
ha->flt_region_fcp_prio = start;
break;
}