]> git.baikalelectronics.ru Git - kernel.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)
commit33e581fce0cfc05b44a97248cf1c50dbf658010e
treeb361105c1dd5cff8ddcc670322c41b2c45889cdb
parent031f4c2bb8b7d9d9f581d97d6f85143425a22ec9
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