qemu-patch-raspberry4/hw/audio
Markus Armbruster 1b111dc121 hw: cannot_instantiate_with_device_add_yet due to pointer props
Pointer properties can be set only by code, not by device_add.  A
device with a pointer property can work with device_add only when the
property may remain null.

This is the case for property "interrupt_vector" of device
"etraxfs,pic".  Add a comment there.

Set cannot_instantiate_with_device_add_yet for the other devices with
pointer properties, with a comment explaining why.

Juha Riihimäki and Peter Maydell deserve my thanks for making "pointer
property must not remain null" blatantly obvious in the OMAP devices.

Only device "smbus-eeprom" is actually changed.  The others are all
sysbus devices, which get cannot_instantiate_with_device_add_yet set
in their abstract base's class init function.  Setting it again in
their class init function is technically redundant, but serves as
insurance for when sysbus devices become available with device_add,
and as documentation.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> (for ETRAX)
Signed-off-by: Andreas Färber <afaerber@suse.de>
2013-12-24 17:27:17 +01: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
Makefile.objs audio: replace audio card configuration with default-configs 2013-04-29 12:16:37 -05:00
marvell_88w8618.c hw: cannot_instantiate_with_device_add_yet due to pointer props 2013-12-24 17:27:17 +01:00
milkymist-ac97.c milkymist-ac97: QOM cast cleanup 2013-07-29 21:05:58 +02:00
pcspk.c isa: Clean up use of cannot_instantiate_with_device_add_yet 2013-12-23 00:27:23 +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