[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH V7 03/11] pci_regs: Add PCI_EXP_TYPE_PCIE_BRIDGE



On Fri, Feb 17, 2012 at 05:08:37PM +0000, Anthony PERARD wrote:
> Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
> ---
>  hw/pci_regs.h |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/hw/pci_regs.h b/hw/pci_regs.h
> index 6b42515..56a404b 100644
> --- a/hw/pci_regs.h
> +++ b/hw/pci_regs.h
> @@ -392,6 +392,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 */

I don't know why but linux source lacks this value, and we
try to stay in sync with that.
Please push there then we'll add here.
Meanwhile  put a define in your code.

>  #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 */
> -- 
> Anthony PERARD
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.