Re: [PATCH v1 09/11] powerpc/PCI: replace pci_probe_only with pci_flags
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2012-02-22 21:41:57
Also in:
linux-pci, linuxppc-dev
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2012-02-22 21:41:57
Also in:
linux-pci, linuxppc-dev
On Wed, 2012-02-22 at 11:19 -0700, Bjorn Helgaas wrote:
We already use pci_flags, so this just sets pci_flags directly and removes the intermediate step of figuring out pci_probe_only, then using it to set pci_flags.
Ah yes, those flags are now common indeed.
The PCI core provides a pci_flags definition (currently __weak), so drop the powerpc definitions in favor of that. Note that we must set the ppc64 default (PCI_PROBE_ONLY set) in the 64-bit setup_arch() before calling the platform .setup_arch() method, which may override the default.
Ah wait, I have a patch about to hit -next that flips the ppc64 default... Maybe it's easier if you just pick it up and stick it in your series, that will avoid integration clashes.. http://patchwork.ozlabs.org/patch/141225/ Cheers, Ben.