diff options
author | Cédric Le Goater <clg@kaod.org> | 2021-12-17 17:57:19 +0100 |
---|---|---|
committer | Cédric Le Goater <clg@kaod.org> | 2021-12-17 17:57:19 +0100 |
commit | 12060cbd3fd42e2a263c473829f5872c89dc71d7 (patch) | |
tree | 3684f214d163a4e7299c6b38ffe7337e1cb22628 /include/hw | |
parent | 422fd92e613ab6b5239538bf2dc1202eb9d3f0f5 (diff) | |
download | qemu-12060cbd3fd42e2a263c473829f5872c89dc71d7.zip qemu-12060cbd3fd42e2a263c473829f5872c89dc71d7.tar.gz qemu-12060cbd3fd42e2a263c473829f5872c89dc71d7.tar.bz2 |
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')
-rw-r--r-- | include/hw/pci-host/pnv_phb4.h | 2 |
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 27556ae..b286423 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 */ |