Revision 142e9787 hw/piix4.c

b/hw/piix4.c
93 93
    return 0;
94 94
}
95 95

  
96
int piix4_init(PCIBus *bus, int devfn)
96
int piix4_init(PCIBus *bus, ISABus **isa_bus, int devfn)
97 97
{
98 98
    PCIDevice *d;
99 99

  
100 100
    d = pci_create_simple_multifunction(bus, devfn, true, "PIIX4");
101
    *isa_bus = DO_UPCAST(ISABus, qbus, qdev_get_child_bus(&d->qdev, "isa.0"));
101 102
    return d->devfn;
102 103
}
103 104

  

Also available in: Unified diff