diff options
author | Hervé Poussineau <hpoussin@reactos.org> | 2011-12-15 22:09:58 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-12-20 15:44:30 -0600 |
commit | 142e9787485d5c58341534b78366ae7ea8e74969 (patch) | |
tree | 738c61dfff98a7493c4ef1fcc22e6229bf27c588 /hw/piix4.c | |
parent | c9940edb473cbaeac565b3a420fdfcc0b6c31e5d (diff) | |
download | qemu-142e9787485d5c58341534b78366ae7ea8e74969.zip qemu-142e9787485d5c58341534b78366ae7ea8e74969.tar.gz qemu-142e9787485d5c58341534b78366ae7ea8e74969.tar.bz2 |
malta: give ISA bus to ISA methods
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/piix4.c')
-rw-r--r-- | hw/piix4.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -93,11 +93,12 @@ static int piix4_initfn(PCIDevice *dev) return 0; } -int piix4_init(PCIBus *bus, int devfn) +int piix4_init(PCIBus *bus, ISABus **isa_bus, int devfn) { PCIDevice *d; d = pci_create_simple_multifunction(bus, devfn, true, "PIIX4"); + *isa_bus = DO_UPCAST(ISABus, qbus, qdev_get_child_bus(&d->qdev, "isa.0")); return d->devfn; } |