aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/igb/igb.h
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2009-02-12 05:03:41 +0000
committerDavid S. Miller <davem@davemloft.net>2009-02-15 23:13:25 -0800
commit38c845c7648ee354fd1d2fb8a7fbc352f2d3dcc3 (patch)
treeaa55b7d582dadb2735079f92f7fe246069647ae7 /drivers/net/igb/igb.h
parentd24fff22d8dba13cc21034144f68f213415cb7c8 (diff)
igb: access to NIC time
Adds the register definitions and code to read the time register. Signed-off-by: John Ronciak <john.ronciak@intel.com> Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/igb.h')
-rw-r--r--drivers/net/igb/igb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h
index e507449b3cc..797a9fe107a 100644
--- a/drivers/net/igb/igb.h
+++ b/drivers/net/igb/igb.h
@@ -34,6 +34,8 @@
#include "e1000_mac.h"
#include "e1000_82575.h"
+#include <linux/clocksource.h>
+
struct igb_adapter;
/* Interrupt defines */
@@ -251,6 +253,8 @@ struct igb_adapter {
struct napi_struct napi;
struct pci_dev *pdev;
struct net_device_stats net_stats;
+ struct cyclecounter cycles;
+ struct timecounter clock;
/* structs defined in e1000_hw.h */
struct e1000_hw hw;