From: Anthony PERARD Date: Fri, 17 Feb 2012 17:08:36 +0000 (+0000) Subject: pci_regs: Fix value of PCI_EXP_TYPE_RC_EC. X-Git-Tag: v1.1-rc0~124^2~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=15a7a7780675eb99c093e29deefc5d6cc371bd87;p=thirdparty%2Fqemu.git 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 Signed-off-by: Michael S. Tsirkin --- diff --git a/hw/pci_regs.h b/hw/pci_regs.h index e8357c3ea6f..6b4251593bd 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 */