hw/southbridge/lasi: Correct LasiState parent
TYPE_LASI_CHIP inherits from TYPE_SYS_BUS_DEVICE, not
TYPE_PCI_HOST_BRIDGE, so its parent structure is of
SysBusDevice type.
Cc: qemu-stable@nongnu.org
Fixes: 376b851909 ("hppa: Add support for LASI chip with i82596 NIC")
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Gustavo Romero <gustavo.romero@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20251117091804.56529-1-philmd@linaro.org>
This commit is contained in:
parent
d3bc229c79
commit
9c3b76a0d4
1 changed files with 2 additions and 2 deletions
|
|
@ -13,8 +13,8 @@
|
|||
#define LASI_H
|
||||
|
||||
#include "system/address-spaces.h"
|
||||
#include "hw/pci/pci_host.h"
|
||||
#include "hw/boards.h"
|
||||
#include "hw/sysbus.h"
|
||||
|
||||
#define TYPE_LASI_CHIP "lasi-chip"
|
||||
OBJECT_DECLARE_SIMPLE_TYPE(LasiState, LASI_CHIP)
|
||||
|
|
@ -63,7 +63,7 @@ OBJECT_DECLARE_SIMPLE_TYPE(LasiState, LASI_CHIP)
|
|||
#define LASI_IRQ_PS2MOU_HPA 26
|
||||
|
||||
struct LasiState {
|
||||
PCIHostState parent_obj;
|
||||
SysBusDevice parent_obj;
|
||||
|
||||
uint32_t irr;
|
||||
uint32_t imr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue