diff options
author | Tal Gilboa <talgi@mellanox.com> | 2018-03-30 07:44:05 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-03-30 15:33:38 -0500 |
commit | 6cf57be0f78e289aaf236f8bc55c40ea6c422c75 (patch) | |
tree | 6a139948424dfd0d349b2baf06bdcd4370285427 /crypto | |
parent | 1acfb9b7ee0b1881bb8e875b6757976e48293ec4 (diff) | |
download | linux-rt-6cf57be0f78e289aaf236f8bc55c40ea6c422c75.tar.gz |
PCI: Add pcie_get_speed_cap() to find max supported link speed
Add pcie_get_speed_cap() to find the max link speed supported by a device.
Change max_link_speed_show() to use pcie_get_speed_cap().
Signed-off-by: Tal Gilboa <talgi@mellanox.com>
[bhelgaas: return speed directly instead of error and *speed, don't export
outside drivers/pci]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions