Commit c1c3cd99e1c1e3a4a816cab64599b27553864396

Authored by Alex Williamson
Committed by Greg Kroah-Hartman
1 parent 50bc9144d4

PCI: Fix PCI_EXP_TYPE_RC_EC value

commit 1830ea91c20b06608f7cdb2455ce05ba834b3214 upstream.

Spec shows this as 1010b = 0xa

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

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