aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2020-04-02 14:26:32 -0500
committerBjorn Helgaas <bhelgaas@google.com>2020-04-02 14:26:32 -0500
commiteb81b249ba059443916d6cc0cfa3e1987aa938d9 (patch)
treea82772f09a64050df12471ade29b8e7449a502ed /include/linux/pci.h
parentMerge branch 'pci/edr' (diff)
parentPCI: Add PCIE_LNKCAP2_SLS2SPEED() macro (diff)
downloadwireguard-linux-eb81b249ba059443916d6cc0cfa3e1987aa938d9.tar.xz
wireguard-linux-eb81b249ba059443916d6cc0cfa3e1987aa938d9.zip
Merge branch 'pci/enumeration'
- Add PCIe 32 GT/s speed decoding for sysfs "max_link_speed" and dmesg notes about available bandwidth (Yicong Yang) - Simplify and unify PCI bus/link speed reporting (Yicong Yang) * pci/enumeration: PCI: Add PCIE_LNKCAP2_SLS2SPEED() macro PCI: Use pci_speed_string() for all PCI/PCI-X/PCIe strings PCI: Add pci_speed_string() PCI: Add 32 GT/s decoding in some macros
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r--include/linux/pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 7ed7c088c952..226908b4dc64 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -236,7 +236,7 @@ enum pcie_link_width {
PCIE_LNK_WIDTH_UNKNOWN = 0xff,
};
-/* Based on the PCI Hotplug Spec, but some values are made up by us */
+/* See matching string table in pci_speed_string() */
enum pci_bus_speed {
PCI_SPEED_33MHz = 0x00,
PCI_SPEED_66MHz = 0x01,