From: Minh Tran Date: Fri, 19 Oct 2012 23:11:24 +0000 (+0530) Subject: [SCSI] be2iscsi: Fix the issue with soft reset. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1d8bc70a5efdad928435c1d88ada1e63ef91b025;p=linux-beck.git [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 Signed-off-by: Jayamohan Kallickal Reviewed-by: Mike Christie Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/be2iscsi/be_cmds.c b/drivers/scsi/be2iscsi/be_cmds.c index 07d2cb126d93..05f70bb19078 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;