qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Igor Kovalenko" <igor.v.kovalenko@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] make adb_pci.c buildable
Date: Sat, 23 Dec 2006 01:12:54 +0300	[thread overview]
Message-ID: <b2fa41d60612221412k79ef6979ja2e09ecb03819465@mail.gmail.com> (raw)


[-- 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;
 }
 

                 reply	other threads:[~2006-12-22 22:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b2fa41d60612221412k79ef6979ja2e09ecb03819465@mail.gmail.com \
    --to=igor.v.kovalenko@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).