bus/pci: implement plug/unplug operations