* [Qemu-devel] [PATCH] make adb_pci.c buildable
@ 2006-12-22 22:12 Igor Kovalenko
0 siblings, 0 replies; only message in thread
From: Igor Kovalenko @ 2006-12-22 22:12 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1.1: Type: text/plain, Size: 184 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 221 bytes --]
[-- Attachment #2: qemu-adb_pci-buildable.patch --]
[-- Type: text/x-patch, Size: 748 bytes --]
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;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-12-22 22:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-22 22:12 [Qemu-devel] [PATCH] make adb_pci.c buildable Igor Kovalenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).