Skip to contentSkip to conversation

PCI: Fix PCI_EXP_TYPE_RC_EC value

PATCH Applied Alex Williamson 2 participants 2 messages Nov 16, 2011 – Dec 5, 2011 PCI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PCI: Fix PCI_EXP_TYPE_RC_EC value

Spec shows this as 1010b = 0xa

---

 include/linux/pci_regs.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/pci_regs.h +1 -1
index 090d3a9..9e37250 100644
@@ -392,7 +392,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 */
Applied
#1 lore raw
Quoted 15 lines · On Wed, 16 Nov 2011 09:24:16 -0700 Alex Williamson…

Spec shows this as 1010b = 0xa

---

 include/linux/pci_regs.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/pci_regs.h +0 -0
index 090d3a9..9e37250 100644

include/linux/pci_regs.h line 398

Quoted 8 lines
include/linux/pci_regs.h +1 -1
@@ -392,7 +392,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 */

Applied to linux-next, thanks.

Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center