summaryrefslogtreecommitdiffstats
path: root/hw/mips_fulong2e.c
diff options
context:
space:
mode:
authorIsaku Yamahata2011-01-21 11:53:51 +0100
committerAurelien Jarno2011-01-25 09:18:05 +0100
commit52108a1ff02263e10b20544b7637241b0920983d (patch)
treee45f3128a0c88849169f45bb875b99451231dcde /hw/mips_fulong2e.c
parentaudio: consolidate audio_init() (diff)
downloadqemu-52108a1ff02263e10b20544b7637241b0920983d.tar.gz
qemu-52108a1ff02263e10b20544b7637241b0920983d.tar.xz
qemu-52108a1ff02263e10b20544b7637241b0920983d.zip
mips_fulong: remove bogus HAS_AUDIO
remove bogus HAS_AUDIO according to 738012bec4c67e697e766edadab3f522c552a04d. Cc: Blue Swirl <blauwirbel@gmail.com> Cc: Huacai Chen <zltjiangshi@gmail.com> Cc: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/mips_fulong2e.c')
-rw-r--r--hw/mips_fulong2e.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/hw/mips_fulong2e.c b/hw/mips_fulong2e.c
index 07eb9eeba1..2783ed5837 100644
--- a/hw/mips_fulong2e.c
+++ b/hw/mips_fulong2e.c
@@ -218,13 +218,11 @@ uint8_t eeprom_spd[0x80] = {
};
/* Audio support */
-#ifdef HAS_AUDIO
static void audio_init (PCIBus *pci_bus)
{
vt82c686b_ac97_init(pci_bus, PCI_DEVFN(FULONG2E_VIA_SLOT, 5));
vt82c686b_mc97_init(pci_bus, PCI_DEVFN(FULONG2E_VIA_SLOT, 6));
}
-#endif
/* Network support */
static void network_init (void)
@@ -391,9 +389,7 @@ static void mips_fulong2e_init(ram_addr_t ram_size, const char *boot_device,
}
/* Sound card */
-#ifdef HAS_AUDIO
audio_init(pci_bus);
-#endif
/* Network card */
network_init();
}