Revision 2217dcff hw/apb_pci.c

b/hw/apb_pci.c
261 261
                                         0, 32);
262 262
    pci_create_simple(d->host_state.bus, 0, "pbm");
263 263
    /* APB secondary busses */
264
    *bus2 = pci_bridge_init(d->host_state.bus, 8, PCI_VENDOR_ID_SUN,
265
                            PCI_DEVICE_ID_SUN_SIMBA, pci_apb_map_irq,
264
    *bus2 = pci_bridge_init(d->host_state.bus, PCI_DEVFN(1, 0),
265
                            PCI_VENDOR_ID_SUN, PCI_DEVICE_ID_SUN_SIMBA,
266
                            pci_apb_map_irq,
266 267
                            "Advanced PCI Bus secondary bridge 1");
267
    *bus3 = pci_bridge_init(d->host_state.bus, 9, PCI_VENDOR_ID_SUN,
268
                            PCI_DEVICE_ID_SUN_SIMBA, pci_apb_map_irq,
268
    *bus3 = pci_bridge_init(d->host_state.bus, PCI_DEVFN(1, 1),
269
                            PCI_VENDOR_ID_SUN, PCI_DEVICE_ID_SUN_SIMBA,
270
                            pci_apb_map_irq,
269 271
                            "Advanced PCI Bus secondary bridge 2");
270 272

  
271 273
    return d->host_state.bus;

Also available in: Unified diff