summaryrefslogtreecommitdiff
path: root/hw/vt82c686.c
diff options
context:
space:
mode:
authorHervé Poussineau <hpoussin@reactos.org>2011-12-15 22:09:57 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2011-12-20 15:44:30 -0600
commitc9940edb473cbaeac565b3a420fdfcc0b6c31e5d (patch)
treef48e47bc11f0a028e6cfd8c99e81d4f419c11974 /hw/vt82c686.c
parentab953e284ad2e701bdbad1685d07c1a930ba8d48 (diff)
downloadqemu-c9940edb473cbaeac565b3a420fdfcc0b6c31e5d.zip
fulong2e: 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/vt82c686.c')
-rw-r--r--hw/vt82c686.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/vt82c686.c b/hw/vt82c686.c
index 284595905d..038128b84c 100644
--- a/hw/vt82c686.c
+++ b/hw/vt82c686.c
@@ -507,13 +507,13 @@ static int vt82c686b_initfn(PCIDevice *d)
return 0;
}
-int vt82c686b_init(PCIBus *bus, int devfn)
+ISABus *vt82c686b_init(PCIBus *bus, int devfn)
{
PCIDevice *d;
d = pci_create_simple_multifunction(bus, devfn, true, "VT82C686B");
- return d->devfn;
+ return DO_UPCAST(ISABus, qbus, qdev_get_child_bus(&d->qdev, "isa.0"));
}
static PCIDeviceInfo via_info = {