]> git.baikalelectronics.ru Git - kernel.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)
commit952e9a122de74e46079a821f96317d01fc2ae331
tree50fdf6d21e2d5593086b8d5a5a906964f950b268
parenta334e159b829c035eb05f01516350fa9d1ba4a22
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