summaryrefslogtreecommitdiffstats
path: root/hw/unin_pci.c
diff options
context:
space:
mode:
authorpbrook2006-09-24 19:01:44 +0200
committerpbrook2006-09-24 19:01:44 +0200
commit80b3ada7dd56088613a446934d144a747e740fa1 (patch)
tree3dc8bf29b3bee0c06772b56e5add4a7d5df2de23 /hw/unin_pci.c
parentPCI shared IRQ fix (original patch by andrzej zaborowski). (diff)
downloadqemu-80b3ada7dd56088613a446934d144a747e740fa1.tar.gz
qemu-80b3ada7dd56088613a446934d144a747e740fa1.tar.xz
qemu-80b3ada7dd56088613a446934d144a747e740fa1.zip
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/unin_pci.c')
-rw-r--r--hw/unin_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/unin_pci.c b/hw/unin_pci.c
index d132d6ec2e..e47f4b3ac0 100644
--- a/hw/unin_pci.c
+++ b/hw/unin_pci.c
@@ -161,7 +161,7 @@ PCIBus *pci_pmac_init(void *pic)
/* Uninorth main bus */
s = qemu_mallocz(sizeof(UNINState));
s->bus = pci_register_bus(pci_unin_set_irq, pci_unin_map_irq,
- pic, 11 << 3);
+ pic, 11 << 3, 4);
pci_mem_config = cpu_register_io_memory(0, pci_unin_main_config_read,
pci_unin_main_config_write, s);