aboutsummaryrefslogtreecommitdiff
path: root/hw/mips_pica61.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-06-18 18:55:46 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-06-18 18:55:46 +0000
commitd60532ca8f551d226b2a1cab46fb4d6611ee0ea8 (patch)
treee5983b5186ecf7329399444fbcaf7219678ef00c /hw/mips_pica61.c
parent630530a6529bc3da9ab8aead7053dc753cb9ac77 (diff)
Add parallel memory mapped interface, by Herve Poussineau.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2988 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/mips_pica61.c')
-rw-r--r--hw/mips_pica61.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/hw/mips_pica61.c b/hw/mips_pica61.c
index 2925b69cc0..17c7a0f173 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 */