couple of updates in the intel nic
authorAli Saidi <saidi@eecs.umich.edu>
Thu, 10 May 2007 02:39:43 +0000 (22:39 -0400)
committerAli Saidi <saidi@eecs.umich.edu>
Thu, 10 May 2007 02:39:43 +0000 (22:39 -0400)
--HG--
extra : convert_revision : da68e5e6411000d9d5247f769ee528a443286c61

src/dev/i8254xGBe.cc

index 680e31656a1f19de6bd1540d616adad52c5bbea2..e0272c655410ba9cfcf0510f88bb916eebb3efce 100644 (file)
@@ -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