From b903ed5d6973337f48a2613ba9d38355c8181dfa Mon Sep 17 00:00:00 2001 From: Bjorn Helgaas Date: Fri, 13 Jul 2012 14:30:21 -0600 Subject: [PATCH] --- yaml --- r: 324202 b: refs/heads/master c: defb9446fe417f72855bc8bf97aa5d8af076bdf8 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/pci_regs.h | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 7c99970ccf6d..68ad668721c5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 44a9a36f6be43636ac2342c06d9feb60db77826a +refs/heads/master: defb9446fe417f72855bc8bf97aa5d8af076bdf8 diff --git a/trunk/include/linux/pci_regs.h b/trunk/include/linux/pci_regs.h index 7fb75b143755..02448b1a0902 100644 --- a/trunk/include/linux/pci_regs.h +++ b/trunk/include/linux/pci_regs.h @@ -677,6 +677,12 @@ #define PCI_PWR_CAP_BUDGET(x) ((x) & 1) /* Included in system budget */ #define PCI_EXT_CAP_PWR_SIZEOF 16 +/* Vendor-Specific (VSEC, PCI_EXT_CAP_ID_VNDR) */ +#define PCI_VNDR_HEADER 4 /* Vendor-Specific Header */ +#define PCI_VNDR_HEADER_ID(x) ((x) & 0xffff) +#define PCI_VNDR_HEADER_REV(x) (((x) >> 16) & 0xf) +#define PCI_VNDR_HEADER_LEN(x) (((x) >> 20) & 0xfff) + /* * Hypertransport sub capability types *