diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/pci.h | 1 | ||||
| -rw-r--r-- | include/linux/pci_regs.h | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 35884f279bb8..43a007cbdf65 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
| @@ -911,7 +911,6 @@ enum pci_obff_signal_type { | |||
| 911 | int pci_enable_obff(struct pci_dev *dev, enum pci_obff_signal_type); | 911 | int pci_enable_obff(struct pci_dev *dev, enum pci_obff_signal_type); |
| 912 | void pci_disable_obff(struct pci_dev *dev); | 912 | void pci_disable_obff(struct pci_dev *dev); |
| 913 | 913 | ||
| 914 | bool pci_ltr_supported(struct pci_dev *dev); | ||
| 915 | int pci_enable_ltr(struct pci_dev *dev); | 914 | int pci_enable_ltr(struct pci_dev *dev); |
| 916 | void pci_disable_ltr(struct pci_dev *dev); | 915 | void pci_disable_ltr(struct pci_dev *dev); |
| 917 | int pci_set_ltr(struct pci_dev *dev, int snoop_lat_ns, int nosnoop_lat_ns); | 916 | int pci_set_ltr(struct pci_dev *dev, int snoop_lat_ns, int nosnoop_lat_ns); |
diff --git a/include/linux/pci_regs.h b/include/linux/pci_regs.h index 526d2c4bc3a6..80e8605b5f93 100644 --- a/include/linux/pci_regs.h +++ b/include/linux/pci_regs.h | |||
| @@ -521,6 +521,12 @@ | |||
| 521 | #define PCI_EXP_RTSTA 32 /* Root Status */ | 521 | #define PCI_EXP_RTSTA 32 /* Root Status */ |
| 522 | #define PCI_EXP_RTSTA_PME 0x10000 /* PME status */ | 522 | #define PCI_EXP_RTSTA_PME 0x10000 /* PME status */ |
| 523 | #define PCI_EXP_RTSTA_PENDING 0x20000 /* PME pending */ | 523 | #define PCI_EXP_RTSTA_PENDING 0x20000 /* PME pending */ |
| 524 | /* | ||
| 525 | * Note that the following PCI Express 'Capability Structure' registers | ||
| 526 | * were introduced with 'Capability Version' 0x2 (v2). These registers | ||
| 527 | * do not exist on devices with Capability Version 1. Use pci_pcie_cap2() | ||
| 528 | * to use these fields safely. | ||
| 529 | */ | ||
| 524 | #define PCI_EXP_DEVCAP2 36 /* Device Capabilities 2 */ | 530 | #define PCI_EXP_DEVCAP2 36 /* Device Capabilities 2 */ |
| 525 | #define PCI_EXP_DEVCAP2_ARI 0x20 /* Alternative Routing-ID */ | 531 | #define PCI_EXP_DEVCAP2_ARI 0x20 /* Alternative Routing-ID */ |
| 526 | #define PCI_EXP_DEVCAP2_LTR 0x800 /* Latency tolerance reporting */ | 532 | #define PCI_EXP_DEVCAP2_LTR 0x800 /* Latency tolerance reporting */ |
