aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-03-02 20:36:23 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-03-02 20:36:23 +0000
commitc05ac0cdac0c4592876424f9c467484bb1eb2bb6 (patch)
tree3d096f95c16aadea1e67395529e14f4f5b2a0a87
parent36d239587370c6ccfc53d7f6acc624ce5d61fe84 (diff)
Fix wrong interrupt number for the second serial interface.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2464 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--hw/mips_malta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mips_malta.c b/hw/mips_malta.c
index e732798358..8d77b78003 100644
--- a/hw/mips_malta.c
+++ b/hw/mips_malta.c
@@ -693,7 +693,7 @@ void mips_malta_init (int ram_size, int vga_ram_size, int boot_device,
if (serial_hds[0])
serial_init(&pic_set_irq_new, isa_pic, 0x3f8, 4, serial_hds[0]);
if (serial_hds[1])
- serial_init(&pic_set_irq_new, isa_pic, 0x2f8, 4, serial_hds[1]);
+ serial_init(&pic_set_irq_new, isa_pic, 0x2f8, 3, serial_hds[1]);
if (parallel_hds[0])
parallel_init(0x378, 7, parallel_hds[0]);
/* XXX: The floppy controller does not work correctly, something is