cleaned up pci_devices.cpp