PCI: Remove obsolete comment reference to pci_pcie_cap2()
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 27 Aug 2013 17:10:02 +0000 (11:10 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 28 Aug 2013 17:28:10 +0000 (11:28 -0600)
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>
include/uapi/linux/pci_regs.h

index 5bb33f4852718bcfd9f698e88aff42f8d23e8add..591bb3b2ee4a53809039111b8104377a1108da18 100644 (file)
 #define PCI_EXP_RTSTA_PME      0x10000 /* PME status */
 #define PCI_EXP_RTSTA_PENDING  0x20000 /* PME pending */
 /*
- * Note that the following PCI Express 'Capability Structure' registers
- * were introduced with 'Capability Version' 0x2 (v2).  These registers
- * do not exist on devices with Capability Version 1.  Use pci_pcie_cap2()
- * to use these fields safely.
+ * The Device Capabilities 2, Device Status 2, Device Control 2,
+ * Link Capabilities 2, Link Status 2, Link Control 2,
+ * Slot Capabilities 2, Slot Status 2, and Slot Control 2 registers
+ * are only present on devices with PCIe Capability version 2.
+ * Use pcie_capability_read_word() and similar interfaces to use them
+ * safely.
  */
 #define PCI_EXP_DEVCAP2                36      /* Device Capabilities 2 */
 #define  PCI_EXP_DEVCAP2_ARI           0x20    /* Alternative Routing-ID */