Dirty-TX-Meldung aus 8139too-ecat.c entfernt.
authorFlorian Pose <fp@igh-essen.com>
Fri, 06 Jan 2006 16:19:35 +0000
changeset 49 3f8e769ca747
parent 48 7e75772ea28c
child 50 458e704afc6e
Dirty-TX-Meldung aus 8139too-ecat.c entfernt.
drivers/8139too.c
--- a/drivers/8139too.c	Fri Jan 06 16:01:06 2006 +0000
+++ b/drivers/8139too.c	Fri Jan 06 16:19:35 2006 +0000
@@ -1991,14 +1991,18 @@
 		tx_left--;
 	}
 
+        /* EtherCAT >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
+
 #ifndef RTL8139_NDEBUG
-	if (tp->cur_tx - dirty_tx > NUM_TX_DESC) {
+	if (dev != rtl_ecat_dev.dev && tp->cur_tx - dirty_tx > NUM_TX_DESC) {
 		printk (KERN_ERR "%s: Out-of-sync dirty pointer, %ld vs. %ld.\n",
 		        dev->name, dirty_tx, tp->cur_tx);
 		dirty_tx += NUM_TX_DESC;
 	}
 #endif /* RTL8139_NDEBUG */
 
+        /* EtherCAT <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
+
 	/* only wake the queue if we did work, and the queue is stopped */
 	if (tp->dirty_tx != dirty_tx) {
 		tp->dirty_tx = dirty_tx;