OSDN Git Service

hw/isa/piix4: Replace some magic IRQ constants
authorBernhard Beschow <shentey@gmail.com>
Thu, 17 Feb 2022 10:19:23 +0000 (11:19 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 8 Mar 2022 18:38:09 +0000 (19:38 +0100)
commit0e75526e4d7850d33feae69c21f503d795420e2d
tree76eeeaa81b4ffad263ab190560da87cac44b542d
parent34e57845d078469be94fc108d5fd283f8787bd76
hw/isa/piix4: Replace some magic IRQ constants

This is a follow-up on patch "malta: Move PCI interrupt handling from
gt64xxx_pci to piix4". gt64xxx_pci used magic constants, and probably
didn't want to use piix4-specific constants. Now that the interrupt
handing resides in piix4, its constants can be used.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20220217101924.15347-7-shentey@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/isa/piix4.c