commit | 157e876ffe0b28821a0d82d8ac944fe7363bbe87 | [log] [tgz] |
---|---|---|
author | Alex Williamson <alex.williamson@redhat.com> | Tue Dec 17 16:43:39 2013 -0700 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Tue Dec 17 17:36:38 2013 -0700 |
tree | 60f443e2745b8b419ece22040d54f619895c465b | |
parent | 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae [diff] |
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>