diff options
author | Sucheta Chakraborty <sucheta@dut4145.unminc.com> | 2010-06-17 06:56:38 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-17 19:57:54 +0400 |
commit | 469c221f97879c0e01967df813ab58dab1d5d64a (patch) | |
tree | 2d855bdc228bd792b9043513de7201a37326026d /drivers | |
parent | 49e4b8476f89956ec64b8b9fb7074cb4309a1169 (diff) | |
download | linux-469c221f97879c0e01967df813ab58dab1d5d64a.tar.xz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/qlcnic/qlcnic_init.c | 2 |
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) /* resetall */ qlcnic_rom_lock(adapter); - QLCWR32(adapter, QLCNIC_ROMUSB_GLB_SW_RESET, 0xffffffff); + QLCWR32(adapter, QLCNIC_ROMUSB_GLB_SW_RESET, 0xfeffffff); qlcnic_rom_unlock(adapter); if (qlcnic_rom_fast_read(adapter, 0, &n) != 0 || (n != 0xcafecafe) || |