diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-09-24 17:01:44 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-09-24 17:01:44 +0000 |
commit | 80b3ada7dd56088613a446934d144a747e740fa1 (patch) | |
tree | 3dc8bf29b3bee0c06772b56e5add4a7d5df2de23 /hw/grackle_pci.c | |
parent | d2b5931756fdb9f839180e33898cd1e3e4fbdc90 (diff) | |
download | qemu-80b3ada7dd56088613a446934d144a747e740fa1.zip qemu-80b3ada7dd56088613a446934d144a747e740fa1.tar.gz qemu-80b3ada7dd56088613a446934d144a747e740fa1.tar.bz2 |
Implement sun4u PCI IRQ routing.
Allow multiple PCI busses and PCI-PCI bridges.
Fix bugs in Versatile PCI implementation.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2166 c046a42c-6fe2-441c-8c8c-71466251a162
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 8f8e5c0..4004f99 100644 --- a/hw/grackle_pci.c +++ b/hw/grackle_pci.c @@ -92,7 +92,8 @@ PCIBus *pci_grackle_init(uint32_t base, void *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, pic, 0); + s->bus = pci_register_bus(pci_grackle_set_irq, pci_grackle_map_irq, + pic, 0, 0); pci_mem_config = cpu_register_io_memory(0, pci_grackle_config_read, pci_grackle_config_write, s); |