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] sparc64 follow pci_nic_init change
Date: Tue, 23 Jun 2009 00:15:49 +0400	[thread overview]
Message-ID: <b2fa41d60906221315r2707a1e5i61a3081c1459c985@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 135 bytes --]

sun4u.c: correct pci_nic_init arguments following
commit 5607c38820366954c38dd702e979499486057481

-- 
Kind regards,
Igor V. Kovalenko

[-- Attachment #2: sparc64-net-init.patch --]
[-- Type: application/octet-stream, Size: 484 bytes --]

Index: qemu-trunk/hw/sun4u.c
===================================================================
--- qemu-trunk.orig/hw/sun4u.c
+++ qemu-trunk/hw/sun4u.c
@@ -482,7 +482,7 @@ static void sun4uv_init(ram_addr_t RAM_s
     }
 
     for(i = 0; i < nb_nics; i++)
-        pci_nic_init(pci_bus, &nd_table[i], -1, "ne2k_pci");
+        pci_nic_init(&nd_table[i], "ne2k_pci", NULL);
 
     if (drive_get_max_bus(IF_IDE) >= MAX_IDE_BUS) {
         fprintf(stderr, "qemu: too many IDE bus\n");

             reply	other threads:[~2009-06-22 20:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-22 20:15 Igor Kovalenko [this message]
2009-06-23  1:02 ` [Qemu-devel] [PATCH] sparc64 follow pci_nic_init change Anthony Liguori
2009-06-23  3:42   ` Igor Kovalenko

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=b2fa41d60906221315r2707a1e5i61a3081c1459c985@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).