summaryrefslogtreecommitdiff
path: root/src/dev/net/etherbus.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/net/etherbus.hh')
-rw-r--r--src/dev/net/etherbus.hh14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/dev/net/etherbus.hh b/src/dev/net/etherbus.hh
index 7395c28d8..1b264533c 100644
--- a/src/dev/net/etherbus.hh
+++ b/src/dev/net/etherbus.hh
@@ -52,19 +52,7 @@ class EtherBus : public EtherObject
bool loopback;
protected:
- class DoneEvent : public Event
- {
- protected:
- EtherBus *bus;
-
- public:
- DoneEvent(EtherBus *b) : bus(b) {}
- virtual void process() { bus->txDone(); }
- virtual const char *description() const
- { return "ethernet bus completion"; }
- };
-
- DoneEvent event;
+ EventFunctionWrapper event;
EthPacketPtr packet;
EtherInt *sender;
EtherDump *dump;