PCI: Fix PCI_EXP_TYPE_RC_EC value
PATCH 1/1 PCI: Fix PCI_EXP_TYPE_RC_EC value
Spec shows this as 1010b = 0xa
Signed-off-by Alex Williamson <[email protected]>
---
include/linux/pci_regs.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
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 */
Jesse Barnes
AppliedQuoted 15 lines · On Wed, 16 Nov 2011 09:24:16 -0700 Alex Williamson…
Spec shows this as 1010b =
0xaSigned-off-by Alex Williamson <[email protected]>---
include/linux/pci_regs.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)include/linux/pci_regs.h +0
-0
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