]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
[SCSI] be2iscsi: Fix the issue with soft reset.
authorMinh Tran <minhduc.tran@emulex.com>
Fri, 19 Oct 2012 23:11:24 +0000 (04:41 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 27 Nov 2012 04:59:34 +0000 (08:59 +0400)
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>
drivers/scsi/be2iscsi/be_cmds.c

index 07d2cb126d934eca69956a6269ab3543a3333dac..05f70bb190785c254254dee3f01b309151dc57e9 100644 (file)
@@ -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;