diff options
Diffstat (limited to 'hw')
-rw-r--r-- | hw/sun4u.c | 2 |
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) { |