devices/e1000/e1000_main-2.6.22-ethercat.c
changeset 1152 30f168c7f74f
parent 1011 a0759d0dded4
child 1154 04bcd38cf8dc
--- a/devices/e1000/e1000_main-2.6.22-ethercat.c	Fri Jul 25 14:19:29 2008 +0000
+++ b/devices/e1000/e1000_main-2.6.22-ethercat.c	Mon Jul 28 08:00:35 2008 +0000
@@ -4358,6 +4358,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