Thread (7 messages) 7 messages, 3 authors, 2012-03-05

Re: [PATCH v1 09/11] powerpc/PCI: replace pci_probe_only with pci_flags

flat view

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2012-02-22 21:41:49
Also in: linux-arch, linux-pci

On Wed, 2012-02-22 at 11:19 -0700, Bjorn Helgaas wrote:
quoted hunk ↗ jump to hunk
 int maple_pci_get_legacy_ide_irq(struct pci_dev *pdev, int channel)
diff --git a/arch/powerpc/platforms/pasemi/pci.c
b/arch/powerpc/platforms/pasemi/pci.c
index b6a0ec4..b27d886 100644
--- a/arch/powerpc/platforms/pasemi/pci.c
+++ b/arch/powerpc/platforms/pasemi/pci.c
@@ -231,7 +231,7 @@ void __init pas_pci_init(void)
        pci_devs_phb_init();
 
        /* Use the common resource allocation mechanism */
-       pci_probe_only = 1;
+       pci_add_flags(PCI_PROBE_ONLY);
 }
Olof, do you remember why you used to set that on pasemi ?

I would have expected it to be clear, so the kernel can re-assign things
if needed. We really only want it set for pseries because of the
hypervisor being a PITA :-)

Cheers,
Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help