diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2020-02-28 22:02:03 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2020-03-10 20:05:33 +0100 |
commit | e56faff57f0b39661093c00e0262d4ab9088830e (patch) | |
tree | 03fd38f1c0d9a0a6ff28022ecd4907768368075f /drivers/pci/pci-sysfs.c | |
parent | PCI: Add 32 GT/s decoding in some macros (diff) | |
download | linux-e56faff57f0b39661093c00e0262d4ab9088830e.tar.xz linux-e56faff57f0b39661093c00e0262d4ab9088830e.zip |
PCI: Add pci_speed_string()
Add pci_speed_string() to return a text description of the supplied bus or
link speed. The slot code previously used the private
pci_bus_speed_strings[] array for this purpose, but adding this interface
will enable us to consolidate similar code elsewhere.
Export pcie_link_speed[] and pci_speed_string() so they can be used by
modules.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pci-sysfs.c')
0 files changed, 0 insertions, 0 deletions