From: Ali Saidi Date: Thu, 10 May 2007 02:39:43 +0000 (-0400) Subject: couple of updates in the intel nic X-Git-Tag: m5_2.0_beta3~4^2~7 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=69ea50c1635bc3dc455eeb29a6f7b0ff04e4ad0b;p=gem5.git couple of updates in the intel nic --HG-- extra : convert_revision : da68e5e6411000d9d5247f769ee528a443286c61 --- diff --git a/src/dev/i8254xGBe.cc b/src/dev/i8254xGBe.cc index 680e31656..e0272c655 100644 --- a/src/dev/i8254xGBe.cc +++ b/src/dev/i8254xGBe.cc @@ -891,6 +891,7 @@ IGbE::TxDescCache::pktComplete() pktPtr = NULL; DPRINTF(EthernetDesc, "Partial Packet Descriptor Done\n"); + enableSm(); return; } @@ -971,6 +972,7 @@ IGbE::TxDescCache::pktComplete() DPRINTF(EthernetDesc, "used > WTHRESH, writing back descriptor\n"); writeback((igbe->cacheBlockSize()-1)>>4); } + enableSm(); igbe->checkDrain(); } @@ -1150,6 +1152,8 @@ IGbE::txStateMachine() return; } + DPRINTF(EthernetSM, "TXS: Nothing to do, stopping ticking\n"); + txTick = false; } bool