@@ -19,6 +19,7 @@ CONFIG_I82378=y
CONFIG_PC87312=y
CONFIG_MACIO=y
CONFIG_PCSPK=y
+CONFIG_CS4231A=y
CONFIG_CUDA=y
CONFIG_ADB=y
CONFIG_MAC_NVRAM=y
@@ -848,6 +848,14 @@ static void ibm_40p_init(ram_addr_t ram_size,
qdev_prop_set(&isa->qdev, "floppyB", drive->bdrv, PROP_TYPE_DRIVE);
}
qdev_init_nofail(&isa->qdev);
+
+ /* Audio */
+ isa = isa_create("cs4231a");
+ qdev_prop_set_uint32(&isa->qdev, "iobase", 0x830);
+ qdev_prop_set_uint32(&isa->qdev, "irq", 10);
+ qdev_init_nofail(&isa->qdev);
+
+ isa_create_simple("i8042");
}
static QEMUMachine prep_machine = {