]> git.baikalelectronics.ru Git - kernel.git/commit
qlcnic: Take FW dump via ethtool
authorAnirban Chakraborty <anirban.chakraborty@qlogic.com>
Thu, 12 May 2011 12:48:34 +0000 (12:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 May 2011 18:44:14 +0000 (14:44 -0400)
commit8223e481372890024ae590ca498d4e4a198591eb
treeafee7caa1197cc6bcfeed65f42b9ef18d1846366
parent4b8d8c6d0900e185eb9d13d28237a5fe6859cf68
qlcnic: Take FW dump via ethtool

Driver checks if the previous dump has been cleared before taking the dump.
It doesn't take the dump if it is not cleared.

Changes from v2:
Added lock to protect dump data structures from being mangled while
dumping or setting them via ethtool.

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