]> git.neil.brown.name Git - history.git/commit
[PATCH] Export OF device path for PCI devices
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 10 Feb 2004 00:11:44 +0000 (16:11 -0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 10 Feb 2004 00:11:44 +0000 (16:11 -0800)
commitaf3ad15398b72407954bccca0d9952527e42da05
tree91892779d8efbb2095c80470dd05f2db1c71f97d
parent6aedddb0686f1cd4c7421879ed8d7b288ae68f32
[PATCH] Export OF device path for PCI devices

Here's a new version of the patch according to our discussion.

This allows the platform to add its own platform files to the
sysfs PCI device node through a "pcibios_add_platform_entries()"
call.

I added an empty pcibios_add_platform_entries() inline to all
archs that apparently have PCI and implemented the OF stuff for
ppc and ppc64. The name is still "devspec" for now, I doubt
it will conflict and that's consistent with our use of the
"devspec" name in other places.
19 files changed:
arch/ppc/kernel/pci.c
arch/ppc64/kernel/pci.c
drivers/pci/pci-sysfs.c
include/asm-alpha/pci.h
include/asm-arm/pci.h
include/asm-h8300/pci.h
include/asm-i386/pci.h
include/asm-ia64/pci.h
include/asm-m68k/pci.h
include/asm-m68knommu/pci.h
include/asm-mips/pci.h
include/asm-parisc/pci.h
include/asm-ppc/pci.h
include/asm-ppc64/pci.h
include/asm-sh/pci.h
include/asm-sparc/pci.h
include/asm-sparc64/pci.h
include/asm-v850/pci.h
include/asm-x86_64/pci.h