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
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user