summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/pci_64.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-12-20 04:54:49 +0100
committerPaul Mackerras <paulus@samba.org>2007-12-20 06:18:08 +0100
commitfa462f2d75e2437b5757069d3d7d27b1e50285cb (patch)
treedc872ff52a3225a3ef134105e74a528e5983fe8d /arch/powerpc/kernel/pci_64.c
parent[POWERPC] pci32: Remove obsolete PowerMac bus number hack (diff)
downloadlinux-fa462f2d75e2437b5757069d3d7d27b1e50285cb.tar.xz
linux-fa462f2d75e2437b5757069d3d7d27b1e50285cb.zip
[POWERPC] pci32: Add platform option to enable /proc PCI domains
This adds flags the platforms can use to enable domain numbers in /proc/bus/pci. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/pci_64.c')
-rw-r--r--arch/powerpc/kernel/pci_64.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c
index 3e7cf7af3bf3..e0f3731c3a1c 100644
--- a/arch/powerpc/kernel/pci_64.c
+++ b/arch/powerpc/kernel/pci_64.c
@@ -586,14 +586,6 @@ int pcibios_enable_device(struct pci_dev *dev, int mask)
return 0;
}
-/* Decide whether to display the domain number in /proc */
-int pci_proc_domain(struct pci_bus *bus)
-{
- struct pci_controller *hose = pci_bus_to_host(bus);
- return hose->buid != 0;
-}
-
-
#ifdef CONFIG_HOTPLUG
int pcibios_unmap_io_space(struct pci_bus *bus)