qlcnic: Fix for kdump
authorRajesh Borundia <rajesh.borundia@qlogic.com>
Tue, 16 Nov 2010 14:08:06 +0000 (14:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Nov 2010 19:49:25 +0000 (11:49 -0800)
commitc21fd48c22bd1a9c4a5286963086f246c782e47e
tree4c7487a5e9682b522ec94aaefaed3e8caac03015
parent2abea2f0a5ab161facd865356d2e59b23204414e
qlcnic: Fix for kdump

In case of kdump environment the function may be in unknown state.
Reset the function using PCI FLR before initializing it.

Signed-off-by: Rajesh Borundia <rajesh.borundia@qlogic.com>
Signed-off-by: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic_ctx.c