summaryrefslogtreecommitdiff
path: root/src/dev/x86/south_bridge/south_bridge.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2008-06-12 00:56:17 -0400
committerGabe Black <gblack@eecs.umich.edu>2008-06-12 00:56:17 -0400
commit16e26fbf03260f362f6090503626f2068d76f89e (patch)
tree48ce3d259c4ebf48d4ccc88b8e3ba08a430b2dfe /src/dev/x86/south_bridge/south_bridge.cc
parentda7f5120671ffd7acd65f66452bdf959a56a5855 (diff)
downloadgem5-16e26fbf03260f362f6090503626f2068d76f89e.tar.xz
X86: Hook the speaker device to the pit device.
Diffstat (limited to 'src/dev/x86/south_bridge/south_bridge.cc')
-rw-r--r--src/dev/x86/south_bridge/south_bridge.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/x86/south_bridge/south_bridge.cc b/src/dev/x86/south_bridge/south_bridge.cc
index cc20ea09e..57cc27bcc 100644
--- a/src/dev/x86/south_bridge/south_bridge.cc
+++ b/src/dev/x86/south_bridge/south_bridge.cc
@@ -70,7 +70,7 @@ SouthBridge::SouthBridge(const Params *p) : PioDevice(p),
pic2(0xA0, 2, p->pio_latency),
pit(p->name + ".pit", 0x40, 4, p->pio_latency),
cmos(0x70, 2, p->pio_latency),
- speaker(0x61, 1, p->pio_latency)
+ speaker(&pit, 0x61, 1, p->pio_latency)
{
addDevice(pic1);
addDevice(pic2);