summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-05-09 22:39:43 -0400
committerAli Saidi <saidi@eecs.umich.edu>2007-05-09 22:39:43 -0400
commit69ea50c1635bc3dc455eeb29a6f7b0ff04e4ad0b (patch)
treea66c79d209802e4800535240b4e1899ac6dfc4bb
parent9dfbea68a204ca93ef9d20a13dd2fe7288121c75 (diff)
downloadgem5-69ea50c1635bc3dc455eeb29a6f7b0ff04e4ad0b.tar.xz
couple of updates in the intel nic
--HG-- extra : convert_revision : da68e5e6411000d9d5247f769ee528a443286c61
-rw-r--r--src/dev/i8254xGBe.cc4
1 files changed, 4 insertions, 0 deletions
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