# HG changeset patch
# User Florian Pose <fp@igh-essen.com>
# Date 1326106882 -3600
# Node ID e93f9cc6f84fa98a1a6b13a95671b4e8e0d82682
# Parent  2f79f8770e3163ef9c8597ee4f3840eedbaa8942
Avoided enabling timer.

diff -r 2f79f8770e31 -r e93f9cc6f84f devices/e1000/e1000_main-2.6.32-ethercat.c
--- a/devices/e1000/e1000_main-2.6.32-ethercat.c	Mon Jan 09 10:52:46 2012 +0100
+++ b/devices/e1000/e1000_main-2.6.32-ethercat.c	Mon Jan 09 12:01:22 2012 +0100
@@ -3437,7 +3437,7 @@
     if (unlikely(icr & (E1000_ICR_RXSEQ | E1000_ICR_LSC))) {
 		hw->get_link_status = 1;
 		/* guard against interrupt when we're going down */
-		if (!test_bit(__E1000_DOWN, &adapter->flags))
+		if (!adapter->ecdev && !test_bit(__E1000_DOWN, &adapter->flags))
 			mod_timer(&adapter->watchdog_timer, jiffies + 1);
 	}
 
diff -r 2f79f8770e31 -r e93f9cc6f84f devices/e1000/e1000_main-2.6.37-ethercat.c
--- a/devices/e1000/e1000_main-2.6.37-ethercat.c	Mon Jan 09 10:52:46 2012 +0100
+++ b/devices/e1000/e1000_main-2.6.37-ethercat.c	Mon Jan 09 12:01:22 2012 +0100
@@ -3548,7 +3548,7 @@
     if (unlikely(icr & (E1000_ICR_RXSEQ | E1000_ICR_LSC))) {
 		hw->get_link_status = 1;
 		/* guard against interrupt when we're going down */
-		if (!test_bit(__E1000_DOWN, &adapter->flags))
+		if (!adapter->ecdev && !test_bit(__E1000_DOWN, &adapter->flags))
 			mod_timer(&adapter->watchdog_timer, jiffies + 1);
 	}