diff options
| author | Bjorn Helgaas <bhelgaas@google.com> | 2013-08-27 13:10:02 -0400 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-08-28 13:28:10 -0400 |
| commit | 1b121c24dd4a9bb7156f10c7da3f39515a9fa6f0 (patch) | |
| tree | 3a93414987bf0ae4b71162c7565b68e6068dbc52 /include/uapi/linux | |
| parent | fbf501c347b2eea8451a615bd823b6b91a1a8eed (diff) | |
PCI: Remove obsolete comment reference to pci_pcie_cap2()
pci_pcie_cap2() was replaced by pcie_capability_read_word() and similar
functions, so update the comment.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/pci_regs.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/uapi/linux/pci_regs.h b/include/uapi/linux/pci_regs.h index 5bb33f485271..591bb3b2ee4a 100644 --- a/include/uapi/linux/pci_regs.h +++ b/include/uapi/linux/pci_regs.h | |||
| @@ -544,10 +544,12 @@ | |||
| 544 | #define PCI_EXP_RTSTA_PME 0x10000 /* PME status */ | 544 | #define PCI_EXP_RTSTA_PME 0x10000 /* PME status */ |
| 545 | #define PCI_EXP_RTSTA_PENDING 0x20000 /* PME pending */ | 545 | #define PCI_EXP_RTSTA_PENDING 0x20000 /* PME pending */ |
| 546 | /* | 546 | /* |
| 547 | * Note that the following PCI Express 'Capability Structure' registers | 547 | * The Device Capabilities 2, Device Status 2, Device Control 2, |
| 548 | * were introduced with 'Capability Version' 0x2 (v2). These registers | 548 | * Link Capabilities 2, Link Status 2, Link Control 2, |
| 549 | * do not exist on devices with Capability Version 1. Use pci_pcie_cap2() | 549 | * Slot Capabilities 2, Slot Status 2, and Slot Control 2 registers |
| 550 | * to use these fields safely. | 550 | * are only present on devices with PCIe Capability version 2. |
| 551 | * Use pcie_capability_read_word() and similar interfaces to use them | ||
| 552 | * safely. | ||
| 551 | */ | 553 | */ |
| 552 | #define PCI_EXP_DEVCAP2 36 /* Device Capabilities 2 */ | 554 | #define PCI_EXP_DEVCAP2 36 /* Device Capabilities 2 */ |
| 553 | #define PCI_EXP_DEVCAP2_ARI 0x20 /* Alternative Routing-ID */ | 555 | #define PCI_EXP_DEVCAP2_ARI 0x20 /* Alternative Routing-ID */ |
