summaryrefslogtreecommitdiffstats
path: root/include/hw
diff options
context:
space:
mode:
authorChen Fan <chen.fan.fnst@cn.fujitsu.com>2015-03-13 11:18:03 +0800
committerMichael S. Tsirkin <mst@redhat.com>2015-03-18 12:14:45 +0100
commit30b04f8711c5191929af4ed03a779646ced3456e (patch)
treecd82fa05a8a07f1cfb2cfbd319314eb052990a38 /include/hw
parent6c936b74235c2d920790a0ff9feb00b07db239c9 (diff)
downloadhqemu-30b04f8711c5191929af4ed03a779646ced3456e.zip
hqemu-30b04f8711c5191929af4ed03a779646ced3456e.tar.gz
pcie: correct mistaken register bit for End-End TLP Prefix Blocking
from pcie spec 7.8.17, the End-End TLP Prefix Blocking bit local is 15(e.g. 0x8000) in device control 2 register. Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/pci/pcie_regs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/pci/pcie_regs.h b/include/hw/pci/pcie_regs.h
index 652d9fc..848ab1c 100644
--- a/include/hw/pci/pcie_regs.h
+++ b/include/hw/pci/pcie_regs.h
@@ -72,7 +72,7 @@
#define PCI_EXP_DEVCAP2_EFF 0x100000
#define PCI_EXP_DEVCAP2_EETLPP 0x200000
-#define PCI_EXP_DEVCTL2_EETLPPB 0x80
+#define PCI_EXP_DEVCTL2_EETLPPB 0x8000
/* ARI */
#define PCI_ARI_VER 1
OpenPOWER on IntegriCloud