mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
malta: give ISA bus to ISA methods
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
c9940edb47
commit
142e978748
3 changed files with 4 additions and 4 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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue