1/* 2 * Copyright (c) 2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 97 unchanged lines hidden (view full) --- 106 DPRINTF(DMA, "Received nacked Pkt %#x with State: %#x Addr: %#x\n", 107 pkt, pkt->senderState, pkt->getAddr()); 108 109 if (backoffTime < device->minBackoffDelay) 110 backoffTime = device->minBackoffDelay; 111 else if (backoffTime < device->maxBackoffDelay) 112 backoffTime <<= 1; 113 |
114 backoffEvent.reschedule(curTick + backoffTime, true); |
115 116 DPRINTF(DMA, "Backoff time set to %d ticks\n", backoffTime); 117 118 pkt->reinitNacked(); 119 queueDma(pkt, true); 120 } else if (pkt->senderState) { 121 DmaReqState *state; 122 backoffTime >>= 2; --- 198 unchanged lines hidden --- |