Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

PCI: Fix PCI_EXP_TYPE_RC_EC value

Spec shows this as 1010b = 0xa

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>

authored by

Alex Williamson and committed by
Jesse Barnes
1830ea91 68e35c9b

+1 -1
+1 -1
include/linux/pci_regs.h
··· 392 392 #define PCI_EXP_TYPE_DOWNSTREAM 0x6 /* Downstream Port */ 393 393 #define PCI_EXP_TYPE_PCI_BRIDGE 0x7 /* PCI/PCI-X Bridge */ 394 394 #define PCI_EXP_TYPE_RC_END 0x9 /* Root Complex Integrated Endpoint */ 395 - #define PCI_EXP_TYPE_RC_EC 0x10 /* Root Complex Event Collector */ 395 + #define PCI_EXP_TYPE_RC_EC 0xa /* Root Complex Event Collector */ 396 396 #define PCI_EXP_FLAGS_SLOT 0x0100 /* Slot implemented */ 397 397 #define PCI_EXP_FLAGS_IRQ 0x3e00 /* Interrupt message number */ 398 398 #define PCI_EXP_DEVCAP 4 /* Device capabilities */