[PATCH] Don't re-assign PCI resources on Maple

Segher Boessenkool segher at kernel.crashing.org
Fri Feb 17 21:30:30 EST 2006


Maple firmware does not need PCI resource allocation, and in fact, it 
can
cause problems in some strange cases.

Signed-off-by: Segher Boessenkool <segher at kernel.crashing.org>
---

Index: linux/arch/powerpc/platforms/maple/pci.c
===================================================================
--- linux.orig/arch/powerpc/platforms/maple/pci.c
+++ linux/arch/powerpc/platforms/maple/pci.c
@@ -435,8 +435,8 @@
                         PCI_DN(np)->busno = 0xf0;
         }

-       /* Tell pci.c to use the common resource allocation mecanism */
-       pci_probe_only = 0;
+       /* Tell pci.c to not change any resource allocations.  */
+       pci_probe_only = 1;

         /* Allow all IO */
         io_page_mask = -1;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-maple-pci-setup
Type: application/octet-stream
Size: 663 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20060217/1acd9b58/attachment.obj 


More information about the Linuxppc64-dev mailing list