Commit 5066b9f199ac13f5d62ce6e03a59bbbce7e8a5ce
1 parent
e918ee04
Malta has no ISA bus.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2947 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
11 deletions
hw/mips_malta.c
@@ -451,17 +451,8 @@ static void audio_init (PCIBus *pci_bus) | @@ -451,17 +451,8 @@ static void audio_init (PCIBus *pci_bus) | ||
451 | s = AUD_init (); | 451 | s = AUD_init (); |
452 | if (s) { | 452 | if (s) { |
453 | for (c = soundhw; c->name; ++c) { | 453 | for (c = soundhw; c->name; ++c) { |
454 | - if (c->enabled) { | ||
455 | - if (c->isa) { | ||
456 | - fprintf(stderr, "qemu: Unsupported Sound Card: %s\n", c->name); | ||
457 | - exit(1); | ||
458 | - } | ||
459 | - else { | ||
460 | - if (pci_bus) { | ||
461 | - c->init.init_pci (pci_bus, s); | ||
462 | - } | ||
463 | - } | ||
464 | - } | 454 | + if (c->enabled) |
455 | + c->init.init_pci (pci_bus, s); | ||
465 | } | 456 | } |
466 | } | 457 | } |
467 | } | 458 | } |