diff options
author | Sucheta Chakraborty <sucheta@dut4145.unminc.com> | 2010-06-17 02:56:38 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-17 08:57:54 -0700 |
commit | 469c221f97879c0e01967df813ab58dab1d5d64a (patch) | |
tree | 2d855bdc228bd792b9043513de7201a37326026d /drivers/net/qlcnic | |
parent | 49e4b8476f89956ec64b8b9fb7074cb4309a1169 (diff) | |
download | kernel_samsung_crespo-469c221f97879c0e01967df813ab58dab1d5d64a.zip kernel_samsung_crespo-469c221f97879c0e01967df813ab58dab1d5d64a.tar.gz kernel_samsung_crespo-469c221f97879c0e01967df813ab58dab1d5d64a.tar.bz2 |
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/net/qlcnic')
-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 635c990..317750d 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) || |