Added debugging code for PCI command and status registers.