diff options
Diffstat (limited to 'src/dev/ns_gige.cc')
-rw-r--r-- | src/dev/ns_gige.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dev/ns_gige.cc b/src/dev/ns_gige.cc index 6a55516c5..583cdb140 100644 --- a/src/dev/ns_gige.cc +++ b/src/dev/ns_gige.cc @@ -1147,7 +1147,7 @@ NSGigE::rxKick() } // Go to the next state machine clock tick. - rxKickTick = curTick() + ticks(1); + rxKickTick = curTick() + clockPeriod(); } switch(rxDmaState) { @@ -1594,7 +1594,7 @@ NSGigE::txKick() } // Go to the next state machine clock tick. - txKickTick = curTick() + ticks(1); + txKickTick = curTick() + clockPeriod(); } switch(txDmaState) { @@ -2015,7 +2015,7 @@ NSGigE::transferDone() DPRINTF(Ethernet, "transfer complete: data in txFifo...schedule xmit\n"); - reschedule(txEvent, curTick() + ticks(1), true); + reschedule(txEvent, curTick() + clockPeriod(), true); } bool |