Commit 6d53bfd16ed4d8f1e9ae6ea255cbf10106f737f9
Committed by
Blue Swirl
1 parent
21ebeb23
sparc64 follow pci_nic_init change
sun4u.c: correct pci_nic_init arguments following commit 5607c388 Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
hw/sun4u.c
... | ... | @@ -479,7 +479,7 @@ static void sun4uv_init(ram_addr_t RAM_size, |
479 | 479 | } |
480 | 480 | |
481 | 481 | for(i = 0; i < nb_nics; i++) |
482 | - pci_nic_init(pci_bus, &nd_table[i], -1, "ne2k_pci"); | |
482 | + pci_nic_init(&nd_table[i], "ne2k_pci", NULL); | |
483 | 483 | |
484 | 484 | irq = qemu_allocate_irqs(cpu_set_irq, env, MAX_PILS); |
485 | 485 | if (drive_get_max_bus(IF_IDE) >= MAX_IDE_BUS) { | ... | ... |