qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] sparc64 follow pci_nic_init change
@ 2009-06-22 20:15 Igor Kovalenko
  2009-06-23  1:02 ` Anthony Liguori
  0 siblings, 1 reply; 3+ messages in thread
From: Igor Kovalenko @ 2009-06-22 20:15 UTC (permalink / raw)
  To: qemu-devel

[-- 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");

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH] sparc64 follow pci_nic_init change
  2009-06-22 20:15 [Qemu-devel] [PATCH] sparc64 follow pci_nic_init change Igor Kovalenko
@ 2009-06-23  1:02 ` Anthony Liguori
  2009-06-23  3:42   ` Igor Kovalenko
  0 siblings, 1 reply; 3+ messages in thread
From: Anthony Liguori @ 2009-06-23  1:02 UTC (permalink / raw)
  To: Igor Kovalenko; +Cc: qemu-devel

Igor Kovalenko wrote:
> sun4u.c: correct pci_nic_init arguments following
> commit 5607c38820366954c38dd702e979499486057481
>   

Please make sure to include a Signed-off-by.

Regards,

Anthony Liguori

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH] sparc64 follow pci_nic_init change
  2009-06-23  1:02 ` Anthony Liguori
@ 2009-06-23  3:42   ` Igor Kovalenko
  0 siblings, 0 replies; 3+ messages in thread
From: Igor Kovalenko @ 2009-06-23  3:42 UTC (permalink / raw)
  To: qemu-devel

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

sun4u.c: correct pci_nic_init arguments following
commit 5607c38820366954c38dd702e979499486057481

Signed-off-by:  Igor V. Kovalenko <igor.v.kovalenko@gmail.com>

-- 
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");

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-06-23  3:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-22 20:15 [Qemu-devel] [PATCH] sparc64 follow pci_nic_init change Igor Kovalenko
2009-06-23  1:02 ` Anthony Liguori
2009-06-23  3:42   ` 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).