From 15a7a7780675eb99c093e29deefc5d6cc371bd87 Mon Sep 17 00:00:00 2001 From: Anthony PERARD Date: Fri, 17 Feb 2012 17:08:36 +0000 Subject: [PATCH] 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 --- hw/pci_regs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/pci_regs.h b/hw/pci_regs.h index e8357c3ea6..6b4251593b 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 */ -- GitLab