]> git.samba.org - sfrench/cifs-2.6.git/commitdiff
[POWERPC] Clear pci_probe_only on 64 bits PowerMac
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Dec 2007 03:54:58 +0000 (14:54 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 20 Dec 2007 05:18:12 +0000 (16:18 +1100)
It should now be safe to re-assign unassigned resources on 64 bits PowerMac
machines (G5s).  This clears pci_probe_only on those.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/powermac/pci.c

index 96a2933a15b59c5c39968a85bb50cacf71b99422..73deace0ec01ae181214e1cc33781b2410a8618a 100644 (file)
@@ -1041,8 +1041,8 @@ void __init pmac_pci_init(void)
        }
        /* pmac_check_ht_link(); */
 
-       /* Tell pci.c to not use the common resource allocation mechanism */
-       pci_probe_only = 1;
+       /* We can allocate missing resources if any */
+       pci_probe_only = 0;
 
 #else /* CONFIG_PPC64 */
        init_p2pbridge();