From 64d011d56ea2cd72f8f8c937526f851685296231 Mon Sep 17 00:00:00 2001 From: Cédric Le Goater Date: Thu, 7 Mar 2019 23:35:38 +0100 Subject: ppc/pnv: add a 'dt_isa_nodename' to the chip The ISA bus has a different DT nodename on POWER9. Compute the name when the PnvChip is realized, that is before it is used by the machine to populate the device tree with the ISA devices. Signed-off-by: Cédric Le Goater Message-Id: <20190307223548.20516-6-clg@kaod.org> Signed-off-by: David Gibson --- include/hw/ppc/pnv.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/hw/ppc/pnv.h b/include/hw/ppc/pnv.h index 8d80cb34ee..c81f157f41 100644 --- a/include/hw/ppc/pnv.h +++ b/include/hw/ppc/pnv.h @@ -58,6 +58,8 @@ typedef struct PnvChip { MemoryRegion xscom_mmio; MemoryRegion xscom; AddressSpace xscom_as; + + gchar *dt_isa_nodename; } PnvChip; #define TYPE_PNV8_CHIP "pnv8-chip" -- cgit v1.2.3-55-g7522