Revision 60a0e443 hw/spapr_pci.c

b/hw/spapr_pci.c
624 624
    bus = pci_register_bus(DEVICE(s), sphb->busname,
625 625
                           pci_spapr_set_irq, pci_spapr_map_irq, sphb,
626 626
                           &sphb->memspace, &sphb->iospace,
627
                           PCI_DEVFN(0, 0), PCI_NUM_PINS);
627
                           PCI_DEVFN(0, 0), PCI_NUM_PINS, TYPE_PCI_BUS);
628 628
    phb->bus = bus;
629 629

  
630 630
    sphb->dma_window_start = 0;

Also available in: Unified diff