mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
Devfn number for network PCI cards, by Aurelien Jarno.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2314 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
f158755072
commit
abcebc7e80
10 changed files with 20 additions and 20 deletions
2
hw/pc.c
2
hw/pc.c
|
@ -668,7 +668,7 @@ static void pc_init1(int ram_size, int vga_ram_size, int boot_device,
|
|||
if (strcmp(nd->model, "ne2k_isa") == 0) {
|
||||
pc_init_ne2k_isa(nd);
|
||||
} else if (pci_enabled) {
|
||||
pci_nic_init(pci_bus, nd);
|
||||
pci_nic_init(pci_bus, nd, -1);
|
||||
} else {
|
||||
fprintf(stderr, "qemu: Unsupported NIC: %s\n", nd->model);
|
||||
exit(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue