SINIC: Commit old code from ASPLOS 2006 studies.
[gem5.git] / src / dev / etherbus.hh
index 4deb7fccc91b0a87c0c54a6ee3cbe0b561f5ca2a..624ceb81a2f679689d3661f4a0278f2428bbd564 100644 (file)
@@ -62,7 +62,8 @@ class EtherBus : public EtherObject
         DoneEvent(EventQueue *q, EtherBus *b)
             : Event(q), bus(b) {}
         virtual void process() { bus->txDone(); }
-        virtual const char *description() { return "ethernet bus completion"; }
+        virtual const char *description() const
+            { return "ethernet bus completion"; }
     };
 
     DoneEvent event;