summaryrefslogtreecommitdiff
path: root/src/dev/ns_gige.cc
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-05-09 22:34:54 -0400
committerAli Saidi <saidi@eecs.umich.edu>2007-05-09 22:34:54 -0400
commit9dfbea68a204ca93ef9d20a13dd2fe7288121c75 (patch)
tree50c8b08d03f16b0450b2da4247babf9dae7a7e20 /src/dev/ns_gige.cc
parentff55888575af9e661697882736741ea6d4613303 (diff)
downloadgem5-9dfbea68a204ca93ef9d20a13dd2fe7288121c75.tar.xz
update for new reschedule semantics
--HG-- extra : convert_revision : 8c18b2513d638f67cc096e7f1483b47390a374ca
Diffstat (limited to 'src/dev/ns_gige.cc')
-rw-r--r--src/dev/ns_gige.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/dev/ns_gige.cc b/src/dev/ns_gige.cc
index bec1fb848..d9985f808 100644
--- a/src/dev/ns_gige.cc
+++ b/src/dev/ns_gige.cc
@@ -2310,10 +2310,7 @@ NSGigE::transferDone()
DPRINTF(Ethernet, "transfer complete: data in txFifo...schedule xmit\n");
- if (txEvent.scheduled())
- txEvent.reschedule(curTick + cycles(1));
- else
- txEvent.schedule(curTick + cycles(1));
+ txEvent.reschedule(curTick + cycles(1), true);
}
bool