summaryrefslogtreecommitdiff
path: root/hw/mips_malta.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-06-06 16:52:12 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-06-06 16:52:12 +0000
commit5066b9f199ac13f5d62ce6e03a59bbbce7e8a5ce (patch)
treebe1a6360eca101bb13a4f785b02a90d4c6dd950f /hw/mips_malta.c
parente918ee04e96dd2d8809cf9d78c14a4d900001211 (diff)
downloadqemu-5066b9f199ac13f5d62ce6e03a59bbbce7e8a5ce.zip
Malta has no ISA bus.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2947 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/mips_malta.c')
-rw-r--r--hw/mips_malta.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/hw/mips_malta.c b/hw/mips_malta.c
index 9786023c30..d8e9391045 100644
--- a/hw/mips_malta.c
+++ b/hw/mips_malta.c
@@ -451,17 +451,8 @@ static void audio_init (PCIBus *pci_bus)
s = AUD_init ();
if (s) {
for (c = soundhw; c->name; ++c) {
- if (c->enabled) {
- if (c->isa) {
- fprintf(stderr, "qemu: Unsupported Sound Card: %s\n", c->name);
- exit(1);
- }
- else {
- if (pci_bus) {
- c->init.init_pci (pci_bus, s);
- }
- }
- }
+ if (c->enabled)
+ c->init.init_pci (pci_bus, s);
}
}
}