aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSucheta Chakraborty <sucheta@dut4145.unminc.com>2010-06-16 22:56:38 -0400
committerDavid S. Miller <davem@davemloft.net>2010-06-17 11:57:54 -0400
commit469c221f97879c0e01967df813ab58dab1d5d64a (patch)
tree2d855bdc228bd792b9043513de7201a37326026d
parent49e4b8476f89956ec64b8b9fb7074cb4309a1169 (diff)
qlcnic: fix device soft reset
During device soft reset, don't halt every device block. Access to some blocks is required during recovery. Signed-off-by: Sucheta Chakraborty <sucheta@dut4145.unminc.com> Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/qlcnic/qlcnic_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/qlcnic/qlcnic_init.c b/drivers/net/qlcnic/qlcnic_init.c
index 635c99022f06..317750d67931 100644
--- a/drivers/net/qlcnic/qlcnic_init.c
+++ b/drivers/net/qlcnic/qlcnic_init.c
@@ -413,7 +413,7 @@ int qlcnic_pinit_from_rom(struct qlcnic_adapter *adapter)
413 413
414 /* resetall */ 414 /* resetall */
415 qlcnic_rom_lock(adapter); 415 qlcnic_rom_lock(adapter);
416 QLCWR32(adapter, QLCNIC_ROMUSB_GLB_SW_RESET, 0xffffffff); 416 QLCWR32(adapter, QLCNIC_ROMUSB_GLB_SW_RESET, 0xfeffffff);
417 qlcnic_rom_unlock(adapter); 417 qlcnic_rom_unlock(adapter);
418 418
419 if (qlcnic_rom_fast_read(adapter, 0, &n) != 0 || (n != 0xcafecafe) || 419 if (qlcnic_rom_fast_read(adapter, 0, &n) != 0 || (n != 0xcafecafe) ||