From d60532ca8f551d226b2a1cab46fb4d6611ee0ea8 Mon Sep 17 00:00:00 2001 From: ths Date: Mon, 18 Jun 2007 18:55:46 +0000 Subject: Add parallel memory mapped interface, by Herve Poussineau. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2988 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/mips_pica61.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'hw/mips_pica61.c') diff --git a/hw/mips_pica61.c b/hw/mips_pica61.c index 2925b69..17c7a0f 100644 --- a/hw/mips_pica61.c +++ b/hw/mips_pica61.c @@ -151,11 +151,8 @@ void mips_pica61_init (int ram_size, int vga_ram_size, int boot_device, serial_mm_init(serial_base[i], 0, i8259[serial_irq[i]], serial_hds[i], 1); } } - for (i = 0; i < MAX_PARALLEL_PORTS; i++) { - if (parallel_hds[i]) { - /* FIXME: memory mapped! parallel_init(0x80008000, i8259[17], parallel_hds[i]); */ - } - } + /* Parallel port */ + if (parallel_hds[0]) parallel_mm_init(0x80008000, 0, i8259[1], parallel_hds[0]); /* Sound card */ /* FIXME: missing Jazz sound, IRQ 18 */ -- cgit v1.1