[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 22/43] hw/isa/piix3: Rename piix3_reset() for sharing with PII
From: |
Bernhard Beschow |
Subject: |
[PATCH v2 22/43] hw/isa/piix3: Rename piix3_reset() for sharing with PIIX4 |
Date: |
Sat, 22 Oct 2022 17:04:47 +0200 |
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
---
hw/isa/piix3.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/isa/piix3.c b/hw/isa/piix3.c
index 8dbf22eaab..5214a75891 100644
--- a/hw/isa/piix3.c
+++ b/hw/isa/piix3.c
@@ -156,7 +156,7 @@ static void piix3_write_config_xen(PCIDevice *dev,
piix3_write_config(dev, address, val, len);
}
-static void piix3_reset(DeviceState *dev)
+static void piix_reset(DeviceState *dev)
{
PIIX3State *d = PIIX3_PCI_DEVICE(dev);
uint8_t *pci_conf = d->dev.config;
@@ -399,7 +399,7 @@ static void pci_piix3_class_init(ObjectClass *klass, void
*data)
PCIDeviceClass *k = PCI_DEVICE_CLASS(klass);
AcpiDevAmlIfClass *adevc = ACPI_DEV_AML_IF_CLASS(klass);
- dc->reset = piix3_reset;
+ dc->reset = piix_reset;
dc->desc = "ISA bridge";
dc->vmsd = &vmstate_piix3;
dc->hotpluggable = false;
--
2.38.1
- [PATCH v2 15/43] hw/isa/piix3: Create ISA PIC in host device, (continued)
- [PATCH v2 15/43] hw/isa/piix3: Create ISA PIC in host device, Bernhard Beschow, 2022/10/22
- [PATCH v2 16/43] hw/isa/piix3: Create IDE controller in host device, Bernhard Beschow, 2022/10/22
- [PATCH v2 17/43] hw/isa/piix3: Wire up ACPI interrupt internally, Bernhard Beschow, 2022/10/22
- [PATCH v2 18/43] hw/isa/piix3: Remove unused include, Bernhard Beschow, 2022/10/22
- [PATCH v2 19/43] hw/isa/piix3: Allow board to provide PCI interrupt routes, Bernhard Beschow, 2022/10/22
- [PATCH v2 20/43] hw/isa/piix3: Resolve redundant PIIX_NUM_PIC_IRQS, Bernhard Beschow, 2022/10/22
- [PATCH v2 21/43] hw/isa/piix3: Rename pci_piix3_props for sharing with PIIX4, Bernhard Beschow, 2022/10/22
- [PATCH v2 22/43] hw/isa/piix3: Rename piix3_reset() for sharing with PIIX4,
Bernhard Beschow <=
- [PATCH v2 23/43] hw/isa/piix3: Prefix pci_slot_get_pirq() with "piix3_", Bernhard Beschow, 2022/10/22
- [PATCH v2 24/43] hw/isa/piix3: Rename typedef PIIX3State to PIIXState, Bernhard Beschow, 2022/10/22
- [PATCH v2 25/43] hw/mips/malta: Reuse dev variable, Bernhard Beschow, 2022/10/22
- [PATCH v2 26/43] meson: Fix dependencies of piix4 southbridge, Bernhard Beschow, 2022/10/22
- [PATCH v2 27/43] hw/isa/piix4: Add missing initialization, Bernhard Beschow, 2022/10/22
- [PATCH v2 28/43] hw/isa/piix4: Move pci_ide_create_devs() call to board code, Bernhard Beschow, 2022/10/22