Patchwork PCI: Add PCI_EXP_TYPE_PCIE_BRIDGE value

login
register
mail settings
Submitter Anthony PERARD
Date Feb. 21, 2012, 4:22 p.m.
Message ID <1329841330-14902-1-git-send-email-anthony.perard@citrix.com>
Download mbox | patch
Permalink /patch/142317/
State New
Headers show

Comments

Anthony PERARD - Feb. 21, 2012, 4:22 p.m.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>

---
 include/linux/pci_regs.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Jesse Barnes - Feb. 23, 2012, 8:09 p.m.
On Tue, 21 Feb 2012 16:22:10 +0000
Anthony PERARD <anthony.perard@citrix.com> wrote:

> Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
> 
> ---
>  include/linux/pci_regs.h |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/include/linux/pci_regs.h b/include/linux/pci_regs.h
> index e41a10f..4b608f5 100644
> --- a/include/linux/pci_regs.h
> +++ b/include/linux/pci_regs.h
> @@ -391,6 +391,7 @@
>  #define  PCI_EXP_TYPE_UPSTREAM	0x5	/* Upstream Port */
>  #define  PCI_EXP_TYPE_DOWNSTREAM 0x6	/* Downstream Port */
>  #define  PCI_EXP_TYPE_PCI_BRIDGE 0x7	/* PCI/PCI-X Bridge */
> +#define  PCI_EXP_TYPE_PCIE_BRIDGE 0x8	/* PCI/PCI-X to PCIE Bridge */
>  #define  PCI_EXP_TYPE_RC_END	0x9	/* Root Complex Integrated Endpoint */
>  #define  PCI_EXP_TYPE_RC_EC	0xa	/* Root Complex Event Collector */
>  #define PCI_EXP_FLAGS_SLOT	0x0100	/* Slot implemented */

Applied, thanks.

Patch

diff --git a/include/linux/pci_regs.h b/include/linux/pci_regs.h
index e41a10f..4b608f5 100644
--- a/include/linux/pci_regs.h
+++ b/include/linux/pci_regs.h
@@ -391,6 +391,7 @@ 
 #define  PCI_EXP_TYPE_UPSTREAM	0x5	/* Upstream Port */
 #define  PCI_EXP_TYPE_DOWNSTREAM 0x6	/* Downstream Port */
 #define  PCI_EXP_TYPE_PCI_BRIDGE 0x7	/* PCI/PCI-X Bridge */
+#define  PCI_EXP_TYPE_PCIE_BRIDGE 0x8	/* PCI/PCI-X to PCIE Bridge */
 #define  PCI_EXP_TYPE_RC_END	0x9	/* Root Complex Integrated Endpoint */
 #define  PCI_EXP_TYPE_RC_EC	0xa	/* Root Complex Event Collector */
 #define PCI_EXP_FLAGS_SLOT	0x0100	/* Slot implemented */