Browse Source

[POWERPC] Clear pci_probe_only on 64 bits PowerMac

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>
Benjamin Herrenschmidt 17 years ago
parent
commit
295f83e7aa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      arch/powerpc/platforms/powermac/pci.c

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

@@ -1041,8 +1041,8 @@ void __init pmac_pci_init(void)
 	}
 	}
 	/* pmac_check_ht_link(); */
 	/* 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 */
 #else /* CONFIG_PPC64 */
 	init_p2pbridge();
 	init_p2pbridge();