aboutsummaryrefslogtreecommitdiff
path: root/hw/piix4.c
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2009-08-28 19:37:00 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-09-04 09:37:34 -0500
commitae027ad3c5ea9a041f46c22bcb52e879645ed171 (patch)
tree2f9f29d214f4dc62cd0dccbc87ef74d6ea622fb7 /hw/piix4.c
parent7b8c51add768584118a14d84f799e73ab1ec988b (diff)
mips malta: Fix fdc regression and use qdev for i8042 setup
8baf73adf664e79eae201c3f618078a220a661d9 (qdev/isa: convert fdc) breaks MIPS Malta: Tried to create isa device isa-fdc with no isa bus present Fix this by creating an isa bus for piix4. This change also requires some more qdev related changes (similar changes were applied to pc.c) and allows cleaning of piix3/piix4 code. Thanks to Gerd Hoffmann for his hints. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/piix4.c')
-rw-r--r--hw/piix4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/piix4.c b/hw/piix4.c
index a9849eeeb3..a6aea15e78 100644
--- a/hw/piix4.c
+++ b/hw/piix4.c
@@ -86,6 +86,7 @@ static int piix4_initfn(PCIDevice *d)
{
uint8_t *pci_conf;
+ isa_bus_new(&d->qdev);
register_savevm("PIIX4", 0, 2, piix_save, piix_load, d);
pci_conf = d->config;