Replace various magic values by definitions to make the code easier to read.
This probably makes sense to merge this series via the 'PC chipset' tree, rather than qemu-trivial@. Regards, Phil. Philippe Mathieu-Daudé (10): hw/isa: Introduce IsaIrqNumber enum hw/isa: Add the ISA_IRQ_KBD_DEFAULT definition hw/isa: Add the ISA_IRQ_SER_DEFAULT definition hw/isa: Add the ISA_IRQ_TPM_DEFAULT definition hw/isa: Add the ISA_IRQ_FDC_DEFAULT definition hw/isa: Add the ISA_IRQ_PAR_DEFAULT definition hw/isa: Add the ISA_IRQ_RTC_DEFAULT definition hw/isa: Add the ISA_IRQ_NET_DEFAULT definition hw/isa: Add the ISA_IRQ_MOU_DEFAULT definition hw/isa: Add the ISA_IRQ_IDE_DEFAULT definition include/hw/isa/isa.h | 13 ++++++++++++- include/hw/rtc/mc146818rtc.h | 1 - hw/block/fdc.c | 4 ++-- hw/char/parallel.c | 2 +- hw/i386/acpi-build.c | 2 +- hw/ide/isa.c | 2 +- hw/input/pckbd.c | 2 +- hw/ipmi/isa_ipmi_bt.c | 2 +- hw/ipmi/isa_ipmi_kcs.c | 2 +- hw/isa/piix4.c | 2 +- hw/net/ne2000-isa.c | 2 +- hw/rtc/m48t59-isa.c | 2 +- hw/rtc/mc146818rtc.c | 4 ++-- hw/sparc64/sun4u.c | 10 +++++----- hw/timer/hpet.c | 8 ++++---- hw/tpm/tpm_tis_isa.c | 2 +- tests/qtest/rtc-test.c | 8 ++++---- 17 files changed, 39 insertions(+), 29 deletions(-) -- 2.26.2