Re: [PATCH 03/10] hw/isa: Add the ISA_IRQ_SER_DEFAULT definition

2020-10-13 Thread Gerd Hoffmann
On Sun, Oct 11, 2020 at 09:32:22PM +0200, Philippe Mathieu-Daudé wrote: > The first serial port uses IRQ #4 by default. Add this ^ > +ISA_IRQ_SER_DEFAULT = 4, ... so name this SER1 maybe? And add SER2 = 3? take care, Gerd

[PATCH 03/10] hw/isa: Add the ISA_IRQ_SER_DEFAULT definition

2020-10-11 Thread Philippe Mathieu-Daudé
The first serial port uses IRQ #4 by default. Add this default definition to the IsaIrqNumber enum. Avoid magic values in the code, replace them by the newly introduced definition. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/isa/isa.h | 1 + hw/sparc64/sun4u.c | 2 +- 2 files changed