summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2004-07-23 00:05:29 -0400
committerNathan Binkert <binkertn@umich.edu>2004-07-23 00:05:29 -0400
commit8844eadcdf5c56156960d3cb4c262a07f0e8ac7e (patch)
tree56ce4fdcb1734e8dc5816df1accd46abb3544b2e
parent1987dd82d181f76a4627273dd9345b4141a6b416 (diff)
downloadgem5-8844eadcdf5c56156960d3cb4c262a07f0e8ac7e.tar.xz
notify the transmitter when the packet has finished transmitting.
--HG-- extra : convert_revision : 66f6f80945c1f621cdc3e743f601d2a73361bacd
-rw-r--r--dev/etherlink.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/etherlink.hh b/dev/etherlink.hh
index 4f227fac5..204348c6d 100644
--- a/dev/etherlink.hh
+++ b/dev/etherlink.hh
@@ -105,7 +105,7 @@ class EtherLink : public SimObject
public:
Interface(const std::string &name, Link *txlink, Link *rxlink);
bool recvPacket(PacketPtr &packet) { return txlink->transmit(packet); }
- void sendDone() { }
+ void sendDone() { peer->sendDone(); }
};
Link *link1;