devices/igb/igb-3.18-ethercat.h
branchstable-1.5
changeset 2686 91cb9cf20f6c
parent 2685 740291442c05
--- a/devices/igb/igb-3.18-ethercat.h	Fri Sep 08 14:39:38 2017 +0200
+++ b/devices/igb/igb-3.18-ethercat.h	Thu Oct 12 13:08:15 2017 +0200
@@ -19,6 +19,8 @@
  * Contact Information:
  * e1000-devel Mailing List <e1000-devel@lists.sourceforge.net>
  * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
+ *
+ * vim: noexpandtab
  */
 
 /* Linux PRO/1000 Ethernet Driver main header file */
@@ -26,6 +28,9 @@
 #ifndef _IGB_H_
 #define _IGB_H_
 
+/* EtherCAT header file */
+#include "../ecdev.h"
+
 #include "e1000_mac-3.18-ethercat.h"
 #include "e1000_82575-3.18-ethercat.h"
 
@@ -454,6 +459,10 @@
 	int copper_tries;
 	struct e1000_info ei;
 	u16 eee_advert;
+
+	/* EtherCAT device variables */
+	ec_device_t *ecdev;
+	unsigned long ec_watchdog_jiffies;
 };
 
 #define IGB_FLAG_HAS_MSI		(1 << 0)