# HG changeset patch # User Florian Pose # Date 1186401112 0 # Node ID 7c7cf2d6c911065f661a3b27259ab1e0219b9f9e # Parent aa394dc1943ab4ea7bee8ba88fcc080c7dec8c1c Minor changes. diff -r aa394dc1943a -r 7c7cf2d6c911 devices/e1000/e1000_main-2.6.13-ethercat.c --- a/devices/e1000/e1000_main-2.6.13-ethercat.c Mon Aug 06 11:46:41 2007 +0000 +++ b/devices/e1000/e1000_main-2.6.13-ethercat.c Mon Aug 06 11:51:52 2007 +0000 @@ -1868,7 +1868,7 @@ e1000_update_adaptive(&adapter->hw); if (!adapter->ecdev && !netif_carrier_ok(netdev)) { - if (E1000_DESC_UNUSED(txdr) + 1 < txdr->count) { + if(E1000_DESC_UNUSED(txdr) + 1 < txdr->count) { /* We've lost link, so the controller stops DMA, * but we've got queued Tx work that's never going * to get done, so reset controller to flush Tx.