equal
deleted
inserted
replaced
17 * the file called "COPYING". |
17 * the file called "COPYING". |
18 * |
18 * |
19 * Contact Information: |
19 * Contact Information: |
20 * e1000-devel Mailing List <e1000-devel@lists.sourceforge.net> |
20 * e1000-devel Mailing List <e1000-devel@lists.sourceforge.net> |
21 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 |
21 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 |
|
22 * |
|
23 * vim: noexpandtab |
22 */ |
24 */ |
23 |
25 |
24 /* Linux PRO/1000 Ethernet Driver main header file */ |
26 /* Linux PRO/1000 Ethernet Driver main header file */ |
25 |
27 |
26 #ifndef _IGB_H_ |
28 #ifndef _IGB_H_ |
27 #define _IGB_H_ |
29 #define _IGB_H_ |
|
30 |
|
31 /* EtherCAT header file */ |
|
32 #include "../ecdev.h" |
28 |
33 |
29 #include "e1000_mac-3.18-ethercat.h" |
34 #include "e1000_mac-3.18-ethercat.h" |
30 #include "e1000_82575-3.18-ethercat.h" |
35 #include "e1000_82575-3.18-ethercat.h" |
31 |
36 |
32 #include <linux/clocksource.h> |
37 #include <linux/clocksource.h> |
452 |
457 |
453 unsigned long link_check_timeout; |
458 unsigned long link_check_timeout; |
454 int copper_tries; |
459 int copper_tries; |
455 struct e1000_info ei; |
460 struct e1000_info ei; |
456 u16 eee_advert; |
461 u16 eee_advert; |
|
462 |
|
463 /* EtherCAT device variables */ |
|
464 ec_device_t *ecdev; |
|
465 unsigned long ec_watchdog_jiffies; |
457 }; |
466 }; |
458 |
467 |
459 #define IGB_FLAG_HAS_MSI (1 << 0) |
468 #define IGB_FLAG_HAS_MSI (1 << 0) |
460 #define IGB_FLAG_DCA_ENABLED (1 << 1) |
469 #define IGB_FLAG_DCA_ENABLED (1 << 1) |
461 #define IGB_FLAG_QUAD_PORT_A (1 << 2) |
470 #define IGB_FLAG_QUAD_PORT_A (1 << 2) |