summaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2005-10-21 19:35:49 -0400
committerNathan Binkert <binkertn@umich.edu>2005-10-21 19:35:49 -0400
commitcf95624e92bc25eff785f2134244f536875af110 (patch)
tree3520d4c39b122ef61f54e4397917a57b0a98c933 /dev
parent336ae93d3cc0060f3d31b907bd20eac577901dd5 (diff)
downloadgem5-cf95624e92bc25eff785f2134244f536875af110.tar.xz
better naming for pio interfaces
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
Diffstat (limited to 'dev')
-rw-r--r--dev/ns_gige.cc2
-rw-r--r--dev/sinic.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/dev/ns_gige.cc b/dev/ns_gige.cc
index 7e7fedc15..0537c344a 100644
--- a/dev/ns_gige.cc
+++ b/dev/ns_gige.cc
@@ -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);
diff --git a/dev/sinic.cc b/dev/sinic.cc
index 0619a63dd..5aa111c44 100644
--- a/dev/sinic.cc
+++ b/dev/sinic.cc
@@ -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;