ich9: Document why cannot_instantiate_with_device_add_yet
commitbfa6dfd070f0cb5be37ae3bd6b90bdd67849c311
authorMarkus Armbruster <armbru@redhat.com>
Thu, 28 Nov 2013 16:26:59 +0000 (28 17:26 +0100)
committerAndreas Färber <afaerber@suse.de>
Sun, 22 Dec 2013 23:27:23 +0000 (23 00:27 +0100)
treee2444fc55a12e1d9b57e9e04c5ad082509862069
parent08c58f92f66dcf0a9097c3a6a65bcc4ffd71268f
ich9: Document why cannot_instantiate_with_device_add_yet

An ICH9 southbridge contains several PCI devices, some of them with
multiple functions.  We model each function as a separate qdev.  Two
of them need some special wiring set up in pc_q35_init() to work: the
LPC controller at 00:1f.0, and the SMBus controller at 00:1f.3.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/i2c/smbus_ich9.c
hw/isa/lpc_ich9.c