--- a/devices/8139too.c Wed Feb 22 17:36:28 2006 +0000
+++ b/devices/8139too.c Thu Feb 23 09:58:50 2006 +0000
@@ -2268,14 +2268,12 @@
}
else
{
- if (EtherCAT_dev_receive(rtl_ec_dev,
- &rx_ring[ring_offset + 4] + ETH_HLEN,
- pkt_size - ETH_HLEN) == 0)
- {
+ EtherCAT_dev_receive(rtl_ec_dev,
+ &rx_ring[ring_offset + 4] + ETH_HLEN,
+ pkt_size - ETH_HLEN);
dev->last_rx = jiffies;
tp->stats.rx_bytes += pkt_size;
tp->stats.rx_packets++;
- }
}
/* EtherCAT <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
@@ -2466,7 +2464,7 @@
else
{
/* Beim EtherCAT-Device einfach alle Frames empfangen */
- rtl8139_rx(dev, tp, 100); // FIXME Das ist echt dirty...
+ rtl8139_rx(dev, tp, 100); // FIXME
}
}