qemu-e2k/hw/mips
Peter Maydell def337ffda serial-isa: Use MAX_ISA_SERIAL_PORTS instead of MAX_SERIAL_PORTS
The ISA serial port handling in serial-isa.c imposes a limit
of 4 serial ports. This is because we only know of 4 IO port
and IRQ settings for them, and is unrelated to the generic
MAX_SERIAL_PORTS limit, though they happen to both be set at
4 currently.

Use a new MAX_ISA_SERIAL_PORTS wherever that is the correct
limit to be checking against.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180420145249.32435-11-peter.maydell@linaro.org
2018-04-26 13:57:00 +01:00
..
addr.c mips: Add KVM T&E segment support for TCG 2017-08-02 22:18:06 +01:00
boston.c Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
cps.c mips: malta/boston: replace cpu_model with cpu_type 2017-10-27 16:04:28 +02:00
gt64xxx_pci.c Replace all occurances of __FUNCTION__ with __func__ 2018-01-22 09:46:18 +01:00
Makefile.objs mips: move hw/mips/cputimer.c to target/mips/ 2017-09-21 13:24:34 +01:00
mips_fulong2e.c hw/isa/vt82c686: Add the TYPE_VT82C686B_SUPERIO 2018-03-12 16:12:49 +01:00
mips_int.c mips: use MIPSCPU instead of CPUMIPSState 2016-05-19 16:42:27 +02:00
mips_jazz.c Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
mips_malta.c Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
mips_mipssim.c Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
mips_r4k.c serial-isa: Use MAX_ISA_SERIAL_PORTS instead of MAX_SERIAL_PORTS 2018-04-26 13:57:00 +01:00