Re: [PATCH] PCI: Fix PCI_EXP_TYPE_RC_EC value

From: Jesse Barnes
Date: Mon Dec 05 2011 - 14:02:48 EST


On Wed, 16 Nov 2011 09:24:16 -0700
Alex Williamson <alex.williamson@xxxxxxxxxx> wrote:

> Spec shows this as 1010b = 0xa
>
> Signed-off-by: Alex Williamson <alex.williamson@xxxxxxxxxx>
> ---
>
> include/linux/pci_regs.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/include/linux/pci_regs.h b/include/linux/pci_regs.h
> index 090d3a9..9e37250 100644
> --- a/include/linux/pci_regs.h
> +++ b/include/linux/pci_regs.h
> @@ -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.

--
Jesse Barnes, Intel Open Source Technology Center

Attachment: signature.asc
Description: PGP signature