From 502ad1e6757116867e0e0529c0c080320a2b440b Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Thu, 11 Jul 2013 21:56:50 -0500 Subject: dev: consistently end device classes in 'Device' PciDev and IntDev stuck out as the only device classes that ended in 'Dev' rather than 'Device'. This patch takes care of that inconsistency. Note that you may need to delete pre-existing files matching build/*/python/m5/internal/param_* as scons does not pick up indirect dependencies on imported python modules when generating params, and the PciDev -> PciDevice rename takes place in a file (dev/Device.py) that gets imported quite a bit. Committed by: Nilay Vaish --- src/dev/i8254xGBe.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/dev/i8254xGBe.cc') diff --git a/src/dev/i8254xGBe.cc b/src/dev/i8254xGBe.cc index ee24b3922..e65baba89 100644 --- a/src/dev/i8254xGBe.cc +++ b/src/dev/i8254xGBe.cc @@ -131,7 +131,7 @@ void IGbE::init() { cpa = CPA::cpa(); - PciDev::init(); + PciDevice::init(); } EtherInt* @@ -151,7 +151,7 @@ IGbE::writeConfig(PacketPtr pkt) { int offset = pkt->getAddr() & PCI_CONFIG_SIZE; if (offset < PCI_DEVICE_SPECIFIC) - PciDev::writeConfig(pkt); + PciDevice::writeConfig(pkt); else panic("Device specific PCI config space not implemented.\n"); @@ -2453,7 +2453,7 @@ IGbE::ethTxDone() void IGbE::serialize(std::ostream &os) { - PciDev::serialize(os); + PciDevice::serialize(os); regs.serialize(os); SERIALIZE_SCALAR(eeOpBits); @@ -2507,7 +2507,7 @@ IGbE::serialize(std::ostream &os) void IGbE::unserialize(Checkpoint *cp, const std::string §ion) { - PciDev::unserialize(cp, section); + PciDevice::unserialize(cp, section); regs.unserialize(cp, section); UNSERIALIZE_SCALAR(eeOpBits); -- cgit v1.2.3