Hi!

pci_bridge_init() has 5 arguments, and pci_adb_init() is only providing 4,
name is missing - patch attached
Let's make it at least buildable.

--
Kind Regards,
Igor V. Kovalenko
Index: hw/apb_pci.c
===================================================================
RCS file: /cvsroot/qemu/qemu/hw/apb_pci.c,v
retrieving revision 1.3
diff -u -r1.3 apb_pci.c
--- hw/apb_pci.c	24 Sep 2006 17:01:44 -0000	1.3
+++ hw/apb_pci.c	22 Dec 2006 22:02:29 -0000
@@ -251,8 +251,8 @@
     d->config[0x0E] = 0x00; // header_type
 
     /* APB secondary busses */
-    secondary = pci_bridge_init(s->bus, 8, 0x108e5000, pci_apb_map_irq);
-    pci_bridge_init(s->bus, 9, 0x108e5000, pci_apb_map_irq);
+    secondary = pci_bridge_init(s->bus, 8, 0x108e5000, pci_apb_map_irq, "Advanced PCI Bus secondary bridge 1");
+    pci_bridge_init(s->bus, 9, 0x108e5000, pci_apb_map_irq, "Advanced PCI Bus secondary bridge 2");
     return secondary;
 }
 
_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to