All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bernhard Beschow <shentey@gmail.com>
To: qemu-devel@nongnu.org
Cc: "Paolo Bonzini" <pbonzini@redhat.com>,
	"Eduardo Habkost" <eduardo@habkost.net>,
	"Hervé Poussineau" <hpoussin@reactos.org>,
	"Philippe Mathieu-Daudé" <philmd@linaro.org>,
	"Marcel Apfelbaum" <marcel.apfelbaum@gmail.com>,
	"Aurelien Jarno" <aurelien@aurel32.net>,
	"Richard Henderson" <richard.henderson@linaro.org>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	"Bernhard Beschow" <shentey@gmail.com>
Subject: [PATCH v8 11/23] hw/isa/piix3: Rename piix3_reset() for sharing with PIIX4
Date: Thu,  2 Mar 2023 22:21:49 +0100	[thread overview]
Message-ID: <20230302212201.224360-12-shentey@gmail.com> (raw)
In-Reply-To: <20230302212201.224360-1-shentey@gmail.com>

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20221022150508.26830-23-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 e11742ce42..15f0105240 100644
--- a/hw/isa/piix3.c
+++ b/hw/isa/piix3.c
@@ -145,7 +145,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;
@@ -385,7 +385,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.39.2



  parent reply	other threads:[~2023-03-02 21:25 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-02 21:21 [PATCH v8 00/23] Consolidate PIIX south bridges Bernhard Beschow
2023-03-02 21:21 ` [PATCH v8 01/23] hw/i386/pc: Create RTC controllers in " Bernhard Beschow
2023-03-02 21:21 ` [PATCH v8 02/23] hw/i386/pc: No need for rtc_state to be an out-parameter Bernhard Beschow
2023-03-02 21:21 ` [PATCH v8 03/23] hw/i386/pc_piix: Allow for setting properties before realizing PIIX3 south bridge Bernhard Beschow
2023-03-02 21:21 ` [PATCH v8 04/23] hw/isa/piix3: Create USB controller in host device Bernhard Beschow
2023-03-02 21:21 ` [PATCH v8 05/23] hw/isa/piix3: Create power management " Bernhard Beschow
2023-03-02 21:21 ` [PATCH v8 06/23] hw/isa/piix3: Move ISA bus IRQ assignments into " Bernhard Beschow
2023-03-02 21:21 ` [PATCH v8 07/23] hw/isa/piix3: Create IDE controller in " Bernhard Beschow
2023-03-02 21:21 ` [PATCH v8 08/23] hw/isa/piix3: Wire up ACPI interrupt internally Bernhard Beschow
2023-03-02 21:21 ` [PATCH v8 09/23] hw/isa/piix3: Resolve redundant PIIX_NUM_PIC_IRQS Bernhard Beschow
2023-03-02 21:21 ` [PATCH v8 10/23] hw/isa/piix3: Rename pci_piix3_props for sharing with PIIX4 Bernhard Beschow
2023-03-02 21:21 ` Bernhard Beschow [this message]
2023-03-02 21:21 ` [PATCH v8 12/23] hw/isa/piix3: Drop the "3" from PIIX base class Bernhard Beschow
2023-03-02 21:21 ` [PATCH v8 13/23] hw/isa/piix4: Make PIIX4's ACPI and USB functions optional Bernhard Beschow
2023-03-02 21:21 ` [PATCH v8 14/23] hw/isa/piix4: Remove unused inbound ISA interrupt lines Bernhard Beschow
2023-03-02 21:21 ` [PATCH v8 15/23] hw/isa/piix4: Reuse struct PIIXState from PIIX3 Bernhard Beschow
2023-03-02 21:21 ` [PATCH v8 16/23] hw/isa/piix4: Create the "intr" property during init() already Bernhard Beschow
2023-03-02 21:21 ` [PATCH v8 17/23] hw/isa/piix4: Rename reset control operations to match PIIX3 Bernhard Beschow
2023-03-02 21:21 ` [PATCH v8 18/23] hw/isa/piix3: Merge hw/isa/piix4.c Bernhard Beschow
2023-03-02 21:21 ` [PATCH v8 19/23] hw/isa/piix: Harmonize names of reset control memory regions Bernhard Beschow
2023-03-02 21:21 ` [PATCH v8 20/23] hw/isa/piix: Rename functions to be shared for interrupt triggering Bernhard Beschow
2023-03-02 21:21 ` [PATCH v8 21/23] hw/isa/piix: Consolidate IRQ triggering Bernhard Beschow
2023-03-02 21:22 ` [PATCH v8 22/23] hw/isa/piix: Share PIIX3's base class with PIIX4 Bernhard Beschow
2023-03-02 21:22 ` [PATCH v8 23/23] hw/isa/piix: Reuse PIIX3 base class' realize method in PIIX4 Bernhard Beschow
2023-04-21  7:15 ` [PATCH v8 00/23] Consolidate PIIX south bridges Michael S. Tsirkin
2023-04-21 16:40   ` Bernhard Beschow
2023-05-10 18:39     ` Bernhard Beschow
2023-05-10 19:20       ` Michael S. Tsirkin
2023-05-18 21:28       ` Michael S. Tsirkin
2023-05-19  8:51         ` Bernhard Beschow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230302212201.224360-12-shentey@gmail.com \
    --to=shentey@gmail.com \
    --cc=aurelien@aurel32.net \
    --cc=eduardo@habkost.net \
    --cc=hpoussin@reactos.org \
    --cc=marcel.apfelbaum@gmail.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.