[POWERPC] Clear pci_probe_only on 64 bits PowerMac

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Wednesday, January 30, 2008 - 8:01 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=295f83...
Commit:     295f83e7aaa87d52b8d16077225a90dab61df45a
Parent:     bc0826cfb102b6f360f2ec3082fa794f5dbbdee7
Author:     Benjamin Herrenschmidt <benh@kernel.crashing.org>
AuthorDate: Thu Dec 20 14:54:58 2007 +1100
Committer:  Paul Mackerras <paulus@samba.org>
CommitDate: Thu Dec 20 16:18:12 2007 +1100

    [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>
---
 arch/powerpc/platforms/powermac/pci.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/platforms/powermac/pci.c b/arch/powerpc/platforms/powermac/pci.c
index 96a2933..73deace 100644
--- a/arch/powerpc/platforms/powermac/pci.c
+++ b/arch/powerpc/platforms/powermac/pci.c
@@ -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();
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[POWERPC] Clear pci_probe_only on 64 bits PowerMac, Linux Kernel Mailing ..., (Wed Jan 30, 8:01 pm)