aboutsummaryrefslogtreecommitdiff
path: root/hw/isa/piix4.c
diff options
context:
space:
mode:
authorBernhard Beschow <shentey@gmail.com>2022-10-22 17:04:53 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2022-10-31 11:32:07 +0100
commitd240d3fb14031ed2b00b86ab8e9082ba6bebce4d (patch)
treef985937512593ff8437f749d1651baf52289033c /hw/isa/piix4.c
parenta1c100d0fbdcee230341262c3874513ce70ff38f (diff)
downloadqemu-d240d3fb14031ed2b00b86ab8e9082ba6bebce4d.zip
qemu-d240d3fb14031ed2b00b86ab8e9082ba6bebce4d.tar.gz
qemu-d240d3fb14031ed2b00b86ab8e9082ba6bebce4d.tar.bz2
hw/isa/piix4: Move pci_ide_create_devs() call to board code
For the VIA south bridges there was a comment to have the call in board code. Move it there for PIIX4 as well for consistency. Signed-off-by: Bernhard Beschow <shentey@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20221022150508.26830-29-shentey@gmail.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/isa/piix4.c')
-rw-r--r--hw/isa/piix4.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/isa/piix4.c b/hw/isa/piix4.c
index 9126eb9..8fc1db6 100644
--- a/hw/isa/piix4.c
+++ b/hw/isa/piix4.c
@@ -257,7 +257,6 @@ static void piix4_realize(PCIDevice *dev, Error **errp)
if (!qdev_realize(DEVICE(&s->ide), BUS(pci_bus), errp)) {
return;
}
- pci_ide_create_devs(PCI_DEVICE(&s->ide));
/* USB */
qdev_prop_set_int32(DEVICE(&s->uhci), "addr", dev->devfn + 2);