]> 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)
commit592cd6352146632801f98379b26436ced2e15251
tree50fdf6d21e2d5593086b8d5a5a906964f950b268
parent1a6cb05b078edf182e8bf28f5fc78ddfe20d510d
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