提交 6d53bfd1 编写于 作者: I Igor V. Kovalenko 提交者: Blue Swirl

sparc64 follow pci_nic_init change

sun4u.c: correct pci_nic_init arguments following
commit 5607c388Signed-off-by: NIgor V. Kovalenko <igor.v.kovalenko@gmail.com>
上级 21ebeb23
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册