summaryrefslogtreecommitdiff
path: root/src/dev/x86/i8254.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/x86/i8254.hh')
-rw-r--r--src/dev/x86/i8254.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dev/x86/i8254.hh b/src/dev/x86/i8254.hh
index e6d500f42..49ea271e9 100644
--- a/src/dev/x86/i8254.hh
+++ b/src/dev/x86/i8254.hh
@@ -77,10 +77,9 @@ class I8254 : public BasicPioDevice
return dynamic_cast<const Params *>(_params);
}
- I8254(Params *p) : BasicPioDevice(p), latency(p->pio_latency),
+ I8254(Params *p) : BasicPioDevice(p, 4), latency(p->pio_latency),
pit(p->name, this), intPin(p->int_pin)
{
- pioSize = 4;
}
Tick read(PacketPtr pkt);