drmgr: Ensure devices are present during pci replacement
drmgr: Ensure devices are present during pci replacement

In some instance during a PCI replacement operations (drmgr -c pci -R)
the adapter we are adding does not immediately appear. In these cases
a small wait is required for the adapter to appear.

This patch adds a small loop checking for the adapter's presence before
continuing the replace operation. The update also adds an option for
users to exit the operation if the adapter does not appear.

Signed-off-by: Nathan Fontenot <4b7bfe500077bf77c5456931a34b0b70e36e0bc6@linux.vnet.ibm.com>

shenki/powerpc-utils,mdroth/powerpc-utils,tyreld/powerpc-utils,mdroth/powerpc-utils,kamalesh-babulal/powerpc-utils,kamalesh-babulal/powerpc-utils,shenki/powerpc-utils,shenki/powerpc-utils,tyreld/powerpc-utils,leitao/powerpc-ibm-utils-debian,leitao/powerpc-ibm-utils-debian,tyreld/powerpc-utils,kamalesh-babulal/powerpc-utils,leitao/powerpc-ibm-utils-debian,mdroth/powerpc-utils