[gPXE-devel] [PATCH 1/4] [pci] Define Vendor Specific capability ID.

Stefan Hajnoczi stefanha at gmail.com
Tue Jun 22 14:53:05 EDT 2010


On Tue, Jun 22, 2010 at 6:45 PM, Glenn Brown <glenn at myri.com> wrote:
> Add a PCI_CAP_ID_VS definition for the PCI standard "Vendor Specific"
> capability ID.
> ---
>  src/include/gpxe/pci.h |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/src/include/gpxe/pci.h b/src/include/gpxe/pci.h
> index 8bcf1e0..d8c693d 100644
> --- a/src/include/gpxe/pci.h
> +++ b/src/include/gpxe/pci.h
> @@ -159,6 +159,7 @@ FILE_LICENCE ( GPL2_ONLY );
>  #define  PCI_CAP_ID_SLOTID     0x04    /* Slot Identification */
>  #define  PCI_CAP_ID_MSI                0x05    /* Message Signalled Interrupts */
>  #define  PCI_CAP_ID_CHSWP      0x06    /* CompactPCI HotSwap */
> +#define  PCI_CAP_ID_VS         0x09    /* Vendor Specific */

Linux uses a slightly different name, it would be nice to stay in sync:

+#define  PCI_CAP_ID_VNDR       0x09    /* Vendor specific capability */

Stefan


More information about the gPXE-devel mailing list