]> 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)
commitc4a8148464d40b55a01a7ac8634ce563beb105f4
treeb361105c1dd5cff8ddcc670322c41b2c45889cdb
parent7d66eef81903597ea143ee419c1fbed0e57fc75d
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