summaryrefslogtreecommitdiffstats
path: root/include/hw/pci-host
diff options
context:
space:
mode:
authorCédric Le Goater2021-12-17 17:57:19 +0100
committerCédric Le Goater2021-12-17 17:57:19 +0100
commit12060cbd3fd42e2a263c473829f5872c89dc71d7 (patch)
tree3684f214d163a4e7299c6b38ffe7337e1cb22628 /include/hw/pci-host
parentppc/pnv: Introduce a num_pecs class attribute for PHB4 PEC devices (diff)
downloadqemu-12060cbd3fd42e2a263c473829f5872c89dc71d7.tar.gz
qemu-12060cbd3fd42e2a263c473829f5872c89dc71d7.tar.xz
qemu-12060cbd3fd42e2a263c473829f5872c89dc71d7.zip
ppc/pnv: Introduce version and device_id class atributes for PHB4 devices
It prepares ground for PHB5 which has different values. Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com> Reviewed-by: Frederic Barrat <fbarrat@linux.ibm.com> Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20211213132830.108372-9-clg@kaod.org> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'include/hw/pci-host')
-rw-r--r--include/hw/pci-host/pnv_phb4.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/pci-host/pnv_phb4.h b/include/hw/pci-host/pnv_phb4.h
index 27556ae534..b286423364 100644
--- a/include/hw/pci-host/pnv_phb4.h
+++ b/include/hw/pci-host/pnv_phb4.h
@@ -219,6 +219,8 @@ struct PnvPhb4PecClass {
int compat_size;
const char *stk_compat;
int stk_compat_size;
+ uint64_t version;
+ uint64_t device_id;
};
#endif /* PCI_HOST_PNV_PHB4_H */