diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2011-01-21 19:53:45 +0900 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-01-25 09:18:00 +0100 |
commit | 0dfa5ef90d0b4eebaf810a897459a009e4b1cef2 (patch) | |
tree | c1a786583824fb1f382eda76db648bca988a3461 /hw/pc.c | |
parent | bec43cc3b61d025841d550800d3835986446061d (diff) | |
download | qemu-0dfa5ef90d0b4eebaf810a897459a009e4b1cef2.zip qemu-0dfa5ef90d0b4eebaf810a897459a009e4b1cef2.tar.gz qemu-0dfa5ef90d0b4eebaf810a897459a009e4b1cef2.tar.bz2 |
audio: consolidate audio_init()
consolidate audio_init() and remove references to shoundhw.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Acked-by: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/pc.c')
-rw-r--r-- | hw/pc.c | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -829,23 +829,6 @@ static const int ne2000_irq[NE2000_NB_MAX] = { 9, 10, 11, 3, 4, 5 }; static const int parallel_io[MAX_PARALLEL_PORTS] = { 0x378, 0x278, 0x3bc }; static const int parallel_irq[MAX_PARALLEL_PORTS] = { 7, 7, 7 }; -void pc_audio_init (PCIBus *pci_bus, qemu_irq *pic) -{ - struct soundhw *c; - - for (c = soundhw; c->name; ++c) { - if (c->enabled) { - if (c->isa) { - c->init.init_isa(pic); - } else { - if (pci_bus) { - c->init.init_pci(pci_bus); - } - } - } - } -} - void pc_init_ne2k_isa(NICInfo *nd) { static int nb_ne2k = 0; |