aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAnthony PERARD <anthony.perard@citrix.com>2012-02-17 17:08:36 +0000
committerMichael S. Tsirkin <mst@redhat.com>2012-03-15 17:04:58 +0200
commit15a7a7780675eb99c093e29deefc5d6cc371bd87 (patch)
tree886eeda1145f0393514c23f34bd47cdfe7445bba /hw
parentfdba487859bff44db21dc119ee2b1b3691c69f0f (diff)
downloadqemu-15a7a7780675eb99c093e29deefc5d6cc371bd87.zip
qemu-15a7a7780675eb99c093e29deefc5d6cc371bd87.tar.gz
qemu-15a7a7780675eb99c093e29deefc5d6cc371bd87.tar.bz2
pci_regs: Fix value of PCI_EXP_TYPE_RC_EC.
Value check in PCI Express Base Specification rev 1.1 Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/pci_regs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci_regs.h b/hw/pci_regs.h
index e8357c3..6b42515 100644
--- a/hw/pci_regs.h
+++ b/hw/pci_regs.h
@@ -393,7 +393,7 @@
#define PCI_EXP_TYPE_DOWNSTREAM 0x6 /* Downstream Port */
#define PCI_EXP_TYPE_PCI_BRIDGE 0x7 /* PCI/PCI-X Bridge */
#define PCI_EXP_TYPE_RC_END 0x9 /* Root Complex Integrated Endpoint */
-#define PCI_EXP_TYPE_RC_EC 0x10 /* Root Complex Event Collector */
+#define PCI_EXP_TYPE_RC_EC 0xa /* Root Complex Event Collector */
#define PCI_EXP_FLAGS_SLOT 0x0100 /* Slot implemented */
#define PCI_EXP_FLAGS_IRQ 0x3e00 /* Interrupt message number */
#define PCI_EXP_DEVCAP 4 /* Device capabilities */