apb: replace OBIO interrupt numbers in pci_pbmA_map_irq() with constants
commita5546222e3eafc9b6bc784c1bffbc8e1614d5e5b
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Thu, 21 Dec 2017 07:32:57 +0000 (21 07:32 +0000)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 9 Jan 2018 21:48:19 +0000 (9 21:48 +0000)
treeb0c929b2602ab71f0462f85ee2ba27570b5b1175
parent4b10c8d7012eea39e96819545eb21d28228831c6
apb: replace OBIO interrupt numbers in pci_pbmA_map_irq() with constants

Following on from the previous commit, we can also do the same with
with legacy OBIO interrupts in pci_pbmA_map_irq().

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Artyom Tarasenko <atar4qemu@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/pci-host/apb.c
include/hw/pci-host/apb.h