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
This commit is contained in:
ths 2007-03-02 20:36:23 +00:00
parent 36d2395873
commit c05ac0cdac

View File

@ -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