diff -r 69056c46aa4d -r bc2d4bf9cbe5 devices/e1000/e1000_main-2.6.24-ethercat.c --- a/devices/e1000/e1000_main-2.6.24-ethercat.c Thu Sep 06 19:52:17 2012 +0200 +++ b/devices/e1000/e1000_main-2.6.24-ethercat.c Thu Sep 06 20:22:24 2012 +0200 @@ -2402,7 +2402,7 @@ /* No need to loop, because 82542 supports only 1 queue */ struct e1000_rx_ring *ring = &adapter->rx_ring[0]; e1000_configure_rx(adapter); - if (adapter->ecdev) { + if (adapter->ecdev) { /* fill rx ring completely! */ adapter->alloc_rx_buf(adapter, ring, ring->count); } else { @@ -3849,7 +3849,7 @@ struct e1000_adapter *adapter = netdev_priv(netdev); struct e1000_hw *hw = &adapter->hw; int i; - + if (adapter->ecdev) { #ifdef CONFIG_E1000_NAPI int ec_work_done = 0; @@ -4013,7 +4013,7 @@ atomic_inc(&adapter->irq_sem); E1000_WRITE_REG(hw, IMC, ~0); } - + adapter->total_tx_bytes = 0; adapter->total_rx_bytes = 0; adapter->total_tx_packets = 0;