diff options
author | Hervé Poussineau <hpoussin@reactos.org> | 2014-03-17 23:00:19 +0100 |
---|---|---|
committer | Andreas Färber <andreas.faerber@web.de> | 2014-03-20 00:33:16 +0100 |
commit | 49a4e21251d89cdf9db8662a0d7138831f85d427 (patch) | |
tree | a6e2fa26f34dfdf7223b2c14baa3794314a91f93 /hw | |
parent | d1a1451cd3a60df7dbfd4fb7f616443d22be1beb (diff) | |
download | qemu-49a4e21251d89cdf9db8662a0d7138831f85d427.zip qemu-49a4e21251d89cdf9db8662a0d7138831f85d427.tar.gz qemu-49a4e21251d89cdf9db8662a0d7138831f85d427.tar.bz2 |
raven: Rename intack region to pci_intack
Regions added subsequently will also have the pci_ prefix.
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/pci-host/prep.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/hw/pci-host/prep.c b/hw/pci-host/prep.c index 94fdffa..84d50ca 100644 --- a/hw/pci-host/prep.c +++ b/hw/pci-host/prep.c @@ -52,9 +52,9 @@ typedef struct RavenPCIState { typedef struct PRePPCIState { PCIHostState parent_obj; - MemoryRegion intack; qemu_irq irq[PCI_NUM_PINS]; PCIBus pci_bus; + MemoryRegion pci_intack; RavenPCIState pci_dev; } PREPPCIState; @@ -148,8 +148,9 @@ static void raven_pcihost_realizefn(DeviceState *d, Error **errp) memory_region_init_io(&h->mmcfg, OBJECT(s), &PPC_PCIIO_ops, s, "pciio", 0x00400000); memory_region_add_subregion(address_space_mem, 0x80800000, &h->mmcfg); - memory_region_init_io(&s->intack, OBJECT(s), &PPC_intack_ops, s, "pci-intack", 1); - memory_region_add_subregion(address_space_mem, 0xbffffff0, &s->intack); + memory_region_init_io(&s->pci_intack, OBJECT(s), &PPC_intack_ops, s, + "pci-intack", 1); + memory_region_add_subregion(address_space_mem, 0xbffffff0, &s->pci_intack); /* TODO Remove once realize propagates to child devices. */ object_property_set_bool(OBJECT(&s->pci_dev), true, "realized", errp); |