From 368dcff9b2b7eee9073933965e425f8a16e4b6b2 Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Fri, 6 Jan 2006 16:19:35 +0000 Subject: [PATCH] Dirty-TX-Meldung aus 8139too-ecat.c entfernt. --- drivers/8139too.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/8139too.c b/drivers/8139too.c index da3adf7b..c6e70a69 100644 --- a/drivers/8139too.c +++ b/drivers/8139too.c @@ -1991,14 +1991,18 @@ static void rtl8139_tx_interrupt (struct net_device *dev, 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;