Peter Maydell 2cd4f8acb0 superio: Don't use MAX_SERIAL_PORTS for serial port limit
The superio device has a limit on the number of serial
ports it supports which is really only there because
it has a fixed-size array serial[]. This limit isn't
related particularly to the global MAX_SERIAL_PORTS limit,
so use a different #define for it.

(In practice the users of superio only ever want 2 serial ports.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180420145249.32435-12-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
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