commit | e56faff57f0b39661093c00e0262d4ab9088830e | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bhelgaas@google.com> | Fri Feb 28 15:02:03 2020 -0600 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Tue Mar 10 14:05:33 2020 -0500 |
tree | 03fd38f1c0d9a0a6ff28022ecd4907768368075f | |
parent | 9cb3985af63555810bb07de50acdf4170771451d [diff] |
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>