qemu-e2k/hw/audio
Markus Armbruster 837d37167d sysbus: Set cannot_instantiate_with_device_add_yet
device_add plugs devices into suitable bus.  For "real" buses, that
actually connects the device.  For sysbus, the connections need to be
made separately, and device_add can't do that.  The device would be
left unconnected, and could not possibly work.

Quite a few, but not all sysbus devices already set
cannot_instantiate_with_device_add_yet in their class init function.

Set it in their abstract base's class init function
sysbus_device_class_init(), and remove the now redundant assignments
from device class init functions.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel.a@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2013-12-23 00:27:22 +01:00
..
Makefile.objs audio: replace audio card configuration with default-configs 2013-04-29 12:16:37 -05:00
ac97.c hw: set interrupts using pci irq wrappers 2013-10-14 17:11:45 +03:00
adlib.c adlib: fix patching of port I/O addresses 2013-12-09 09:19:26 +01:00
cs4231.c cs4231: QOM cast cleanup 2013-07-29 20:45:48 +02:00
cs4231a.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
es1370.c hw: set interrupts using pci irq wrappers 2013-10-14 17:11:45 +03:00
fmopl.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
fmopl.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
gus.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
gusemu.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
gusemu_hal.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
gusemu_mixer.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
gustate.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
hda-codec-common.h hda-codec: make mixemu selectable at runtime 2013-09-24 10:29:34 +02:00
hda-codec.c audio: remove CONFIG_MIXEMU configure option 2013-09-24 10:29:34 +02:00
intel-hda-defs.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
intel-hda.c intel-hda: fix position buffer 2013-12-09 09:19:26 +01:00
intel-hda.h intel-hda: Pass size to hda_codec_bus_init() 2013-08-30 20:14:38 +02:00
lm4549.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
lm4549.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
marvell_88w8618.c audio/marvell_88w8618: QOM cast cleanup 2013-07-29 21:05:47 +02:00
milkymist-ac97.c milkymist-ac97: QOM cast cleanup 2013-07-29 21:05:58 +02:00
pcspk.c qdev: Replace no_user by cannot_instantiate_with_device_add_yet 2013-12-23 00:27:22 +01:00
pl041.c sysbus: Set cannot_instantiate_with_device_add_yet 2013-12-23 00:27:22 +01:00
pl041.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
pl041.hx hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
sb16.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
wm8750.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00