PCI: Add pci_wait_for_pending() (refactor pci_wait_for_pending_transaction())
authorAlex Williamson <alex.williamson@redhat.com>
Tue, 17 Dec 2013 23:43:39 +0000 (16:43 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 18 Dec 2013 00:36:38 +0000 (17:36 -0700)
commit157e876ffe0b28821a0d82d8ac944fe7363bbe87
tree60f443e2745b8b419ece22040d54f619895c465b
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
PCI: Add pci_wait_for_pending() (refactor pci_wait_for_pending_transaction())

We currently have two instance of this loop which waits for a pending bit
to clear in a status dword.  Generalize the function for future users.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c
include/linux/pci.h
This page took 0.034806 seconds and 5 git commands to generate.