reverted: --- b/arch/mips/pci/pci.c +++ a/arch/mips/pci/pci.c @@ -164,7 +164,7 @@ pci_read_config_word(dev, PCI_COMMAND, &cmd); old_cmd = cmd; + for(idx=0; idx<6; idx++) { - for (idx=0; idx < PCI_NUM_RESOURCES; idx++) { /* Only set up the requested stuff */ if (!(mask & (1<