Jelajahi Sumber

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

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@kernel.crashing.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Segher Boessenkool 19 tahun lalu
induk
melakukan
4558f417f4
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      arch/powerpc/platforms/maple/pci.c

+ 2 - 2
arch/powerpc/platforms/maple/pci.c

@@ -435,8 +435,8 @@ void __init maple_pci_init(void)
 			PCI_DN(np)->busno = 0xf0;
 			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 */
 	/* Allow all IO */
 	io_page_mask = -1;
 	io_page_mask = -1;