diff options
| author | Bernhard Beschow <shentey@gmail.com> | 2023-10-07 14:38:19 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2023-10-22 05:18:16 -0400 |
| commit | e47e5a5b79ffd6b3ca72ea383e3c756b68402735 (patch) | |
| tree | fc42b54125258b466de051f68bfd677a6a225c9b /include/hw | |
| parent | 56b1f50e3c101bfe5f52bac73de0e88438de11bd (diff) | |
| download | focaccia-qemu-e47e5a5b79ffd6b3ca72ea383e3c756b68402735.tar.gz focaccia-qemu-e47e5a5b79ffd6b3ca72ea383e3c756b68402735.zip | |
hw/isa/piix3: Create IDE controller in host device
The IDE controller is an integral part of PIIX3 (function 1). So create it as part of the south bridge. Signed-off-by: Bernhard Beschow <shentey@gmail.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Message-Id: <20231007123843.127151-12-shentey@gmail.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw')
| -rw-r--r-- | include/hw/southbridge/piix.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/southbridge/piix.h b/include/hw/southbridge/piix.h index b07ff6bb26..1daeff397c 100644 --- a/include/hw/southbridge/piix.h +++ b/include/hw/southbridge/piix.h @@ -13,6 +13,7 @@ #define HW_SOUTHBRIDGE_PIIX_H #include "hw/pci/pci_device.h" +#include "hw/ide/pci.h" #include "hw/rtc/mc146818rtc.h" /* PIRQRC[A:D]: PIRQx Route Control Registers */ @@ -52,6 +53,7 @@ struct PIIXState { int32_t pci_irq_levels_vmstate[PIIX_NUM_PIRQS]; MC146818RtcState rtc; + PCIIDEState ide; /* Reset Control Register contents */ uint8_t rcr; |