diff options
author | Cédric Le Goater | 2021-12-17 17:57:19 +0100 |
---|---|---|
committer | Cédric Le Goater | 2021-12-17 17:57:19 +0100 |
commit | 12060cbd3fd42e2a263c473829f5872c89dc71d7 (patch) | |
tree | 3684f214d163a4e7299c6b38ffe7337e1cb22628 /include/hw/pci-host | |
parent | ppc/pnv: Introduce a num_pecs class attribute for PHB4 PEC devices (diff) | |
download | qemu-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.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 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 */ |