diff options
author | Sinan Kaya <okaya@codeaurora.org> | 2017-08-29 21:45:44 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-08-29 21:45:44 +0200 |
commit | 6a802ef0af94e7148c3fef71f5502654b65ed46a (patch) | |
tree | 1d166bfa2a89a1c12fdbc1b833485156d8e3f6e7 /kernel/reboot.c | |
parent | PCI: Add pci_bus_crs_vendor_id() to detect CRS response data (diff) | |
download | linux-6a802ef0af94e7148c3fef71f5502654b65ed46a.tar.xz linux-6a802ef0af94e7148c3fef71f5502654b65ed46a.zip |
PCI: Factor out pci_bus_wait_crs()
Configuration Request Retry Status (CRS) was previously hidden inside
pci_bus_read_dev_vendor_id(). We want to add support for CRS in other
situations, such as waiting for a device to become ready after a Function
Level Reset.
Move CRS handling into pci_bus_wait_crs() so it can be called from other
places.
Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
[bhelgaas: pass pointer, not value, to pci_bus_wait_crs() so caller gets
correct Vendor ID]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'kernel/reboot.c')
0 files changed, 0 insertions, 0 deletions