Skip to content

Commit

Permalink
[SCSI] be2iscsi: Fix the issue with soft reset.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Minh Tran authored and James Bottomley committed Nov 27, 2012
1 parent 51976a8 commit 1d8bc70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/be2iscsi/be_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1d8bc70

Please sign in to comment.