better naming for pio interfaces
authorNathan Binkert <binkertn@umich.edu>
Fri, 21 Oct 2005 23:35:49 +0000 (19:35 -0400)
committerNathan Binkert <binkertn@umich.edu>
Fri, 21 Oct 2005 23:35:49 +0000 (19:35 -0400)
dev/ns_gige.cc:
    why call it pio2 when there's only one?
dev/sinic.cc:
    Give the interface a different name for stats/output purposes

--HG--
extra : convert_revision : 895732f1a7e4c53e058a42b51320c2115dc05638

dev/ns_gige.cc
dev/sinic.cc

index 7e7fedc155990a6a91af82da58bb5b50e83c757f..0537c344a92357dff5ca3360b162e927e7f89829 100644 (file)
@@ -127,7 +127,7 @@ NSGigE::NSGigE(Params *p)
                                                  p->header_bus, 1,
                                                  p->dma_no_allocate);
     } else if (p->payload_bus) {
-        pioInterface = newPioInterface(name() + ".pio2", p->hier,
+        pioInterface = newPioInterface(name() + ".pio", p->hier,
                                        p->payload_bus, this,
                                        &NSGigE::cacheAccess);
 
index 0619a63dd1680939f71cd2f78491b93a0ecb2256..5aa111c440def628595bdb95d4f117fb2d3b6f3e 100644 (file)
@@ -94,8 +94,8 @@ Device::Device(Params *p)
     reset();
 
     if (p->io_bus) {
-        pioInterface = newPioInterface(p->name, p->hier, p->io_bus, this,
-                                       &Device::cacheAccess);
+        pioInterface = newPioInterface(p->name + ".pio", p->hier, p->io_bus,
+                                       this, &Device::cacheAccess);
 
         pioLatency = p->pio_latency * p->io_bus->clockRate;