aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlcnic/qlcnic.h
diff options
context:
space:
mode:
authorSucheta Chakraborty <sucheta.chakraborty@qlogic.com>2010-05-13 03:07:50 +0000
committerDavid S. Miller <davem@davemloft.net>2010-05-14 03:08:02 -0700
commit6df900e96c70208a931968da99f24cc982de116e (patch)
tree501341a10ff49c425eee3fabb0b9a76c27528d12 /drivers/net/qlcnic/qlcnic.h
parentqlcnic: support quisce mode (diff)
downloadlinux-dev-6df900e96c70208a931968da99f24cc982de116e.tar.xz
linux-dev-6df900e96c70208a931968da99f24cc982de116e.zip
qlcnic: add idc debug registers
When ever driver changes the device state, it should write pci-func number and timestamp in debug registers. Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com> Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlcnic/qlcnic.h')
-rw-r--r--drivers/net/qlcnic/qlcnic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/qlcnic/qlcnic.h b/drivers/net/qlcnic/qlcnic.h
index 5c89f4e4635b..2ed34cd43e1c 100644
--- a/drivers/net/qlcnic/qlcnic.h
+++ b/drivers/net/qlcnic/qlcnic.h
@@ -960,6 +960,8 @@ struct qlcnic_adapter {
u8 mac_addr[ETH_ALEN];
+ u64 dev_rst_time;
+
struct qlcnic_adapter_stats stats;
struct qlcnic_recv_context recv_ctx;