summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-04-18 18:44:04 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2013-04-29 12:17:06 -0500
commitb3e6d591b05538056d665572f3e3bbfb3cbb70e7 (patch)
treeb14e13cce12bdc609f97af3fa261b7689cf702a5 /hw
parentf81222bc0cf68464fe82117521917cc1533c3ff4 (diff)
downloadqemu-b3e6d591b05538056d665572f3e3bbfb3cbb70e7.tar.gz
qemu-b3e6d591b05538056d665572f3e3bbfb3cbb70e7.tar.bz2
qemu-b3e6d591b05538056d665572f3e3bbfb3cbb70e7.zip
audio: enable PCI audio cards for all PCI-enabled targets
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1366303444-24620-9-git-send-email-pbonzini@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/i386/pc_piix.c2
-rw-r--r--hw/i386/pc_q35.c1
-rw-r--r--hw/mips/mips_jazz.c2
-rw-r--r--hw/mips/mips_malta.c3
-rw-r--r--hw/ppc/prep.c3
5 files changed, 0 insertions, 11 deletions
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index da91e7065d..c1113e088a 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -193,8 +193,6 @@ static void pc_init1(MemoryRegion *system_memory,
}
}
- audio_init();
-
pc_cmos_init(below_4g_mem_size, above_4g_mem_size, boot_device,
floppy, idebus[0], idebus[1], rtc_state);
diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
index 7ed0cd4a4b..d445bdf4ca 100644
--- a/hw/i386/pc_q35.c
+++ b/hw/i386/pc_q35.c
@@ -189,7 +189,6 @@ static void pc_q35_init(QEMUMachineInitArgs *args)
/* the rest devices to which pci devfn is automatically assigned */
pc_vga_init(isa_bus, host_bus);
- audio_init();
pc_nic_init(isa_bus, host_bus);
if (pci_enabled) {
pc_pci_device_init(host_bus);
diff --git a/hw/mips/mips_jazz.c b/hw/mips/mips_jazz.c
index 822d3006e2..94d95702a4 100644
--- a/hw/mips/mips_jazz.c
+++ b/hw/mips/mips_jazz.c
@@ -288,9 +288,7 @@ static void mips_jazz_init(MemoryRegion *address_space,
parallel_mm_init(address_space, 0x80008000, 0, rc4030[0],
parallel_hds[0]);
- /* Sound card */
/* FIXME: missing Jazz sound at 0x8000c000, rc4030[2] */
- audio_init();
/* NVRAM */
dev = qdev_create(NULL, "ds1225y");
diff --git a/hw/mips/mips_malta.c b/hw/mips/mips_malta.c
index a2d01e158f..9d521ccb19 100644
--- a/hw/mips/mips_malta.c
+++ b/hw/mips/mips_malta.c
@@ -985,9 +985,6 @@ void mips_malta_init(QEMUMachineInitArgs *args)
}
fdctrl_init_isa(isa_bus, fd);
- /* Sound card */
- audio_init();
-
/* Network card */
network_init();
diff --git a/hw/ppc/prep.c b/hw/ppc/prep.c
index 82bd27ec8d..59c7da3af7 100644
--- a/hw/ppc/prep.c
+++ b/hw/ppc/prep.c
@@ -658,9 +658,6 @@ static void ppc_prep_init(QEMUMachineInitArgs *args)
/* Special port to get debug messages from Open-Firmware */
register_ioport_write(0x0F00, 4, 1, &PPC_debug_write, NULL);
-
- /* Initialize audio subsystem */
- audio_init();
}
static QEMUMachine prep_machine = {