X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=dev%2Fetherbus.cc;h=82722383cf3820250012ab132db437ced4f90344;hb=c9e6a15196a87fd1aa923b9ee0f6ff736ad6d33b;hp=3f6036f72ae10d6f4f9b72f2b2c0fe64c456f7cf;hpb=e0b065ff7c10dada97f562f13d7676253d48e793;p=gem5.git diff --git a/dev/etherbus.cc b/dev/etherbus.cc index 3f6036f72..82722383c 100644 --- a/dev/etherbus.cc +++ b/dev/etherbus.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003 The Regents of The University of Michigan + * Copyright (c) 2002-2004 The Regents of The University of Michigan * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -81,7 +81,7 @@ EtherBus::reg(EtherInt *dev) { devlist.push_back(dev); } bool -EtherBus::send(EtherInt *sndr, PacketPtr pkt) +EtherBus::send(EtherInt *sndr, PacketPtr &pkt) { if (busy()) { DPRINTF(Ethernet, "ethernet packet not sent, bus busy\n", curTick);