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
..
2016-10-04 13:28:07 +01:00
2017-01-27 18:07:59 +01:00
2018-03-01 11:05:45 +00:00
2018-03-06 13:16:29 +11:00
2016-05-18 15:04:27 +03:00
2013-04-08 18:13:10 +02:00
2018-02-09 05:05:11 +01:00
2018-02-09 05:05:11 +01:00
2018-03-08 15:49:23 +01:00
2017-01-27 18:07:59 +01:00
2018-03-13 11:17:31 -06:00
2017-12-05 19:13:45 +02:00
2018-02-09 05:05:11 +01:00
2017-01-27 18:07:59 +01:00
2017-04-24 12:32:12 +01:00
2017-06-01 18:49:22 +02:00
2013-04-08 18:13:10 +02:00