aboutsummaryrefslogtreecommitdiff
path: root/hw/isa/piix4.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2019-02-02 20:48:46 +0100
committerPhilippe Mathieu-Daudé <philmd@redhat.com>2019-11-05 23:33:12 +0100
commit0063454affb3c5a595539a3cad9e20e7229d8fac (patch)
treebf75d84bb022448a3994237b64a827b028b7d352 /hw/isa/piix4.c
parentb7d255e103b87217297bb0bc0759966a30e553ae (diff)
downloadqemu-0063454affb3c5a595539a3cad9e20e7229d8fac.zip
qemu-0063454affb3c5a595539a3cad9e20e7229d8fac.tar.gz
qemu-0063454affb3c5a595539a3cad9e20e7229d8fac.tar.bz2
hw/pci-host/piix: Move RCR_IOPORT register definition
The RCR_IOPORT register belongs to the PIIX chipset. Move the definition to "piix.h", and prepend the PIIX prefix. Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'hw/isa/piix4.c')
-rw-r--r--hw/isa/piix4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/isa/piix4.c b/hw/isa/piix4.c
index f3e21ea..86678e6 100644
--- a/hw/isa/piix4.c
+++ b/hw/isa/piix4.c
@@ -166,7 +166,7 @@ static void piix4_realize(PCIDevice *dev, Error **errp)
memory_region_init_io(&s->rcr_mem, OBJECT(dev), &piix4_rcr_ops, s,
"reset-control", 1);
memory_region_add_subregion_overlap(pci_address_space_io(dev),
- RCR_IOPORT, &s->rcr_mem, 1);
+ PIIX_RCR_IOPORT, &s->rcr_mem, 1);
/* initialize i8259 pic */
i8259_out_irq = qemu_allocate_irqs(piix4_request_i8259_irq, s, 1);