thp: remove assumptions on pgtable_t type
[deliverable/linux.git] / include / linux / pci_regs.h
index 3958f70f320222ab9159a65b8c6ce68f5ee0af7e..20ae747ddf3483af636aef6f729fe90a33fa852d 100644 (file)
 #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
  *
This page took 0.075293 seconds and 5 git commands to generate.