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:
Gerd Hoffmann 2009-09-10 11:43:33 +02:00 committed by malc
parent 9df34396d5
commit 9453c5bc26
8 changed files with 170 additions and 93 deletions

View file

@ -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++;
}