summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/be2iscsi
diff options
context:
space:
mode:
authorMinh Tran <minhduc.tran@emulex.com>2012-10-20 04:41:24 +0530
committerJames Bottomley <JBottomley@Parallels.com>2012-11-27 08:59:34 +0400
commit1d8bc70a5efdad928435c1d88ada1e63ef91b025 (patch)
tree1faf63b458c7df6b1f2e0cfa35ee44c3a8d67333 /drivers/scsi/be2iscsi
parent51976a8c85cec0c62e410bc38b8a11dbc690764d (diff)
downloadop-kernel-dev-1d8bc70a5efdad928435c1d88ada1e63ef91b025.zip
op-kernel-dev-1d8bc70a5efdad928435c1d88ada1e63ef91b025.tar.gz
[SCSI] be2iscsi: Fix the issue with soft reset.
Fixed soft_reset problem which driver modified all 32bit before a write on second pass. Signed-off-by: Minh Tran <minhduc.tran@emulex.com> Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/be2iscsi')
-rw-r--r--drivers/scsi/be2iscsi/be_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/be2iscsi/be_cmds.c b/drivers/scsi/be2iscsi/be_cmds.c
index 07d2cb1..05f70bb 100644
--- a/drivers/scsi/be2iscsi/be_cmds.c
+++ b/drivers/scsi/be2iscsi/be_cmds.c
@@ -56,7 +56,7 @@ int beiscsi_pci_soft_reset(struct beiscsi_hba *phba)
writel(pconline0, (void *)pci_online0_offset);
writel(pconline1, (void *)pci_online1_offset);
- sreset = BE2_SET_RESET;
+ sreset |= BE2_SET_RESET;
writel(sreset, (void *)pci_reset_offset);
i = 0;
OpenPOWER on IntegriCloud