From 9453c5bc2634fdbdd05450034c21a58806d366a4 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 10 Sep 2009 11:43:33 +0200 Subject: 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 --- hw/ppc_prep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/ppc_prep.c') diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c index 927d4040ab..cde235ae26 100644 --- a/hw/ppc_prep.c +++ b/hw/ppc_prep.c @@ -691,7 +691,7 @@ static void ppc_prep_init (ram_addr_t ram_size, nd_table[i].model = "ne2k_isa"; } if (strcmp(nd_table[i].model, "ne2k_isa") == 0) { - isa_ne2000_init(ne2000_io[i], i8259[ne2000_irq[i]], &nd_table[i]); + isa_ne2000_init(ne2000_io[i], ne2000_irq[i], &nd_table[i]); } else { pci_nic_init(&nd_table[i], "ne2k_pci", NULL); } -- cgit v1.2.3