qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT 6d53bfd] sparc64 follow pci_nic_init change


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT 6d53bfd] sparc64 follow pci_nic_init change
Date: Tue, 23 Jun 2009 18:06:53 -0000

From: Igor V. Kovalenko <address@hidden>

sun4u.c: correct pci_nic_init arguments following
commit 5607c38820366954c38dd702e979499486057481

Signed-off-by: Igor V. Kovalenko <address@hidden>

diff --git a/hw/sun4u.c b/hw/sun4u.c
index e6bdcb2..0405a11 100644
--- a/hw/sun4u.c
+++ b/hw/sun4u.c
@@ -479,7 +479,7 @@ static void sun4uv_init(ram_addr_t RAM_size,
     }
 
     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);
 
     irq = qemu_allocate_irqs(cpu_set_irq, env, MAX_PILS);
     if (drive_get_max_bus(IF_IDE) >= MAX_IDE_BUS) {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]