projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e80de85
)
In pcibios_enable_resources go back to handling all PCI_NUM_RESOURCES
author
Ralf Baechle
<ralf@linux-mips.org>
Tue, 12 Jul 2005 09:18:53 +0000
(09:18 +0000)
committer
Ralf Baechle
<ralf@linux-mips.org>
Sat, 29 Oct 2005 18:31:43 +0000
(19:31 +0100)
resources. We tried previous but ran into problems ...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pci/pci.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/pci/pci.c
b/arch/mips/pci/pci.c
index a8d499b0a36f1eca62d814d9477aba8becb734d8..170c6650f961d8db923c6886b7e5c8db57e51f5e 100644
(file)
--- 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;