mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
qdev/isa: convert ne2000
Also split the isa bits into a separate source file, so we don't drag in a dependency for isa-bus.o for machines which want ne2k_pci only. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
9df34396d5
commit
9453c5bc26
8 changed files with 170 additions and 93 deletions
2
hw/pc.c
2
hw/pc.c
|
@ -1052,7 +1052,7 @@ static void pc_init_ne2k_isa(NICInfo *nd)
|
|||
if (nb_ne2k == NE2000_NB_MAX)
|
||||
return;
|
||||
isa_ne2000_init(ne2000_io[nb_ne2k],
|
||||
isa_reserve_irq(ne2000_irq[nb_ne2k]), nd);
|
||||
ne2000_irq[nb_ne2k], nd);
|
||||
nb_ne2k++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue