sparc64 follow pci_nic_init change

sun4u.c: correct pci_nic_init arguments following
commit 5607c38820

Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
master
Igor V. Kovalenko 2009-06-23 18:04:08 +00:00 committed by Blue Swirl
parent 21ebeb23b3
commit 6d53bfd16e
1 changed files with 1 additions and 1 deletions

View File

@ -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) {