summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorŁukasz Gieryk2022-02-17 18:44:53 +0100
committerMichael S. Tsirkin2022-03-06 11:08:23 +0100
commit67c996c43b401c204774de25aa5fcba4c64ff0e1 (patch)
tree009a602ff15951a5f21ea95c98d85cd25cb7d62f
parentpcie: Add a helper to the SR/IOV API (diff)
downloadqemu-67c996c43b401c204774de25aa5fcba4c64ff0e1.tar.gz
qemu-67c996c43b401c204774de25aa5fcba4c64ff0e1.tar.xz
qemu-67c996c43b401c204774de25aa5fcba4c64ff0e1.zip
pcie: Add 1.2 version token for the Power Management Capability
Signed-off-by: Łukasz Gieryk <lukasz.gieryk@linux.intel.com> Message-Id: <20220217174504.1051716-5-lukasz.maniak@linux.intel.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r--include/hw/pci/pci_regs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/pci/pci_regs.h b/include/hw/pci/pci_regs.h
index 77ba64b931..a590140962 100644
--- a/include/hw/pci/pci_regs.h
+++ b/include/hw/pci/pci_regs.h
@@ -4,5 +4,6 @@
#include "standard-headers/linux/pci_regs.h"
#define PCI_PM_CAP_VER_1_1 0x0002 /* PCI PM spec ver. 1.1 */
+#define PCI_PM_CAP_VER_1_2 0x0003 /* PCI PM spec ver. 1.2 */
#endif