summaryrefslogtreecommitdiff
path: root/src/dev/x86/speaker.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/x86/speaker.hh')
-rw-r--r--src/dev/x86/speaker.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dev/x86/speaker.hh b/src/dev/x86/speaker.hh
index 2886a76d7..22fc03e1c 100644
--- a/src/dev/x86/speaker.hh
+++ b/src/dev/x86/speaker.hh
@@ -64,10 +64,9 @@ class Speaker : public BasicPioDevice
return dynamic_cast<const Params *>(_params);
}
- Speaker(Params *p) : BasicPioDevice(p),
+ Speaker(Params *p) : BasicPioDevice(p, 1),
latency(p->pio_latency), controlVal(0), timer(p->i8254)
{
- pioSize = 1;
}
Tick read(PacketPtr pkt);