summaryrefslogtreecommitdiffstats
path: root/arch/mips/pci/pci.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-07-12 11:18:53 +0200
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 20:31:43 +0200
commite5de3b468795e4c58a9f0702630d28707b3ae011 (patch)
treebb52ef6c6bcacebb92e1ab97b37a8e3afec98d29 /arch/mips/pci/pci.c
parentUse Kconfig.preempt. (diff)
downloadlinux-e5de3b468795e4c58a9f0702630d28707b3ae011.tar.xz
linux-e5de3b468795e4c58a9f0702630d28707b3ae011.zip
In pcibios_enable_resources go back to handling all PCI_NUM_RESOURCES
resources. We tried previous but ran into problems ... Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pci/pci.c')
-rw-r--r--arch/mips/pci/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/pci.c b/arch/mips/pci/pci.c
index a8d499b0a36f..170c6650f961 100644
--- a/arch/mips/pci/pci.c
+++ b/arch/mips/pci/pci.c
@@ -164,7 +164,7 @@ static int pcibios_enable_resources(struct pci_dev *dev, int mask)
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<<idx)))
continue;