devices/e1000/e1000_main-2.6.22-ethercat.c
branchstable-1.3
changeset 1756 dbe4a4219aa5
parent 1754 e750b37597ad
child 1757 c5757cebfaea
--- a/devices/e1000/e1000_main-2.6.22-ethercat.c	Wed Apr 30 09:55:58 2008 +0000
+++ b/devices/e1000/e1000_main-2.6.22-ethercat.c	Mon Jul 28 08:16:01 2008 +0000
@@ -4362,6 +4362,10 @@
 
 		if (adapter->ecdev) {
 			ecdev_receive(adapter->ecdev, skb->data, length);
+
+			// No need to detect link status as
+			// long as frames are received: Reset watchdog.
+			adapter->ec_watchdog_jiffies = jiffies;
 		} else {
 			skb->protocol = eth_type_trans(skb, netdev);
 #ifdef CONFIG_E1000_NAPI