diff options
Diffstat (limited to 'dev/sinic.cc')
-rw-r--r-- | dev/sinic.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/sinic.cc b/dev/sinic.cc index 1f7fceebe..5125a1d68 100644 --- a/dev/sinic.cc +++ b/dev/sinic.cc @@ -98,7 +98,7 @@ Device::Device(Params *p) pioInterface = newPioInterface(p->name, p->hier, p->io_bus, this, &Device::cacheAccess); - pioLatency = p->pio_latency * p->io_bus->clockRatio; + pioLatency = p->pio_latency * p->io_bus->clockRate; if (p->payload_bus) dmaInterface = new DMAInterface<Bus>(p->name + ".dma", p->io_bus, @@ -112,7 +112,7 @@ Device::Device(Params *p) pioInterface = newPioInterface(p->name, p->hier, p->payload_bus, this, &Device::cacheAccess); - pioLatency = p->pio_latency * p->payload_bus->clockRatio; + pioLatency = p->pio_latency * p->payload_bus->clockRate; dmaInterface = new DMAInterface<Bus>(p->name + ".dma", p->payload_bus, p->payload_bus, 1, |