]> asedeno.scripts.mit.edu Git - linux.git/commit
PCI: Document reset method return values
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 25 Oct 2017 22:09:24 +0000 (17:09 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 25 Oct 2017 22:09:24 +0000 (17:09 -0500)
commit832c418a1530afba54fd96a2cca0912ec9036080
treeb361105c1dd5cff8ddcc670322c41b2c45889cdb
parent16b6c8bb687cc3bec914de09061fcb8411951fda
PCI: Document reset method return values

The pci_reset_function() path may try several different reset methods:
device-specific resets, PCIe Function Level Resets, PCI Advanced Features
Function Level Reset, etc.

Add a comment about what the return values from these methods mean.  If one
of the methods fails, in some cases we want to continue and try the next
one in the list, but sometimes we want to stop trying.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c