Don't call recvRetry if the bus is busy anyway. This takes care of a corner case as well when dealing with grants that aren't used.

--HG--
extra : convert_revision : 38f7ef1b41477fb2a2438387ef3a81cccd3e7a8a
This commit is contained in:
Gabe Black 2006-10-11 00:54:47 -04:00
parent a139e4394d
commit 7767f5af73

View file

@ -206,8 +206,8 @@ void
Bus::recvRetry(int id)
{
DPRINTF(Bus, "Received a retry\n");
// If there's anything waiting...
if (retryList.size()) {
// If there's anything waiting, and the bus isn't busy...
if (retryList.size() && curTick >= tickNextIdle) {
//retryingPort = retryList.front();
inRetry = true;
DPRINTF(Bus, "Sending a retry\n");