aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorIgor V. Kovalenko <igor.v.kovalenko@gmail.com>2009-06-23 18:04:08 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-06-23 18:04:08 +0000
commit6d53bfd16ed4d8f1e9ae6ea255cbf10106f737f9 (patch)
treecd42ddc7f6ac242d343bb34e80bfbdc8340276ed /hw
parent21ebeb23b3a0065311433b4f3d07947429c7a6dc (diff)
sparc64 follow pci_nic_init change
sun4u.c: correct pci_nic_init arguments following commit 5607c38820366954c38dd702e979499486057481 Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/sun4u.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sun4u.c b/hw/sun4u.c
index e6bdcb2bce..0405a1133f 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) {