]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
qlcnic: Add capability to take FW dump deterministically
authorSritej Velaga <sritej.velaga@qlogic.com>
Wed, 22 Jun 2011 02:52:17 +0000 (02:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Jun 2011 08:17:06 +0000 (01:17 -0700)
commit602ca6f00a0d95a0d0cec84f492324ee71d14e09
tree50fdf6d21e2d5593086b8d5a5a906964f950b268
parent21e842579a5fd1ce746be4e34ac53ef67d6f0a6b
qlcnic: Add capability to take FW dump deterministically

In presence of multiple functions, current driver implementation does not
guarantee that the FW dump is taken by the same function that forces it.
Change it by adding a fw reset owner flag that could be changed in the device
reset path and only when a function determines that it needs to reset it.

Signed-off-by: Sritej Velaga <sritej.velaga@qlogic.com>
Signed-off-by: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic.h
drivers/net/qlcnic/qlcnic_ctx.c
drivers/net/qlcnic/qlcnic_main.c