diff options
Diffstat (limited to 'hw/grackle_pci.c')
-rw-r--r-- | hw/grackle_pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/grackle_pci.c b/hw/grackle_pci.c index 8b170d6144..581d1c5d60 100644 --- a/hw/grackle_pci.c +++ b/hw/grackle_pci.c @@ -133,7 +133,8 @@ PCIBus *pci_grackle_init(uint32_t base, qemu_irq *pic) int pci_mem_config, pci_mem_data; s = qemu_mallocz(sizeof(GrackleState)); - s->bus = pci_register_bus(pci_grackle_set_irq, pci_grackle_map_irq, + s->bus = pci_register_bus(NULL, "pci", + pci_grackle_set_irq, pci_grackle_map_irq, pic, 0, 4); pci_mem_config = cpu_register_io_memory(0, pci_grackle_config_read, |