kernel-ark/arch/powerpc/kernel
Benjamin Herrenschmidt 7eebde700f [POWERPC] Souped-up of_platform_device support
This patch first splits of_device.c and of_platform.c, the later containing
the bits relative to of_platform_device's. On the "breaks" side of things,
drivers uisng of_platform_device(s) need to include asm/of_platform.h now
and of_(un)register_driver is now of_(un)register_platform_driver.

In addition to a few utility functions to locate of_platform_device(s),
the main new addition is of_platform_bus_probe() which allows the platform
code to trigger an automatic creation of of_platform_devices for a whole
tree of devices.

The function acts based on the type of the various "parent" devices encountered
from a provided root, using either a default known list of bus types that can be
"probed" or a passed-in list. It will only register devices on busses matching
that list, which mean that typically, it will not register PCI devices, as
expected (since they will be picked up by the PCI layer).

This will be used by Cell platforms using 4xx-type IOs in the Axon bridge
and can be used by any embedded-type device as well.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-12-04 16:08:52 +11:00
..
vdso32 [POWERPC] Support feature fixups in vdso's 2006-10-25 11:54:07 +10:00
vdso64 [POWERPC] Cell timebase bug workaround 2006-10-25 11:54:18 +10:00
align.c
asm-offsets.c [POWERPC] Lazy interrupt disabling for 64-bit machines 2006-10-16 16:31:36 +10:00
audit.c
binfmt_elf32.c
btext.c [POWERPC] Fix various offb issues 2006-11-01 14:52:48 +11:00
compat_audit.c
cpu_setup_6xx.S
cpu_setup_ppc970.S [POWERPC] powerpc: Enable DEEPNAP power savings mode on 970MP 2006-10-16 16:32:25 +10:00
cputable.c Merge branch 'linux-2.6' into for-linus 2006-12-04 15:59:07 +11:00
crash_dump.c
crash.c [POWERPC] Lazy interrupt disabling for 64-bit machines 2006-10-16 16:31:36 +10:00
dma_64.c
entry_32.S
entry_64.S [PATCH] Remove occurences of PPC_MULTIPLATFORM in head_64.S 2006-11-13 14:44:58 +11:00
firmware.c
fpu.S
head_4xx.S
head_8xx.S
head_32.S
head_44x.S
head_64.S Merge branch 'linux-2.6' into for-linus 2006-12-04 15:59:07 +11:00
head_booke.h
head_fsl_booke.S
ibmebus.c
idle_6xx.S
idle_power4.S [POWERPC] Lazy interrupt disabling for 64-bit machines 2006-10-16 16:31:36 +10:00
idle.c [POWERPC] cell: use ppc_md->power_save instead of cbe_idle_loop 2006-10-25 14:20:22 +10:00
init_task.c
io.c
iomap.c
iommu.c [POWERPC] Use 4kB iommu pages even on 64kB-page systems 2006-11-01 14:52:48 +11:00
irq.c [POWERPC] Make irq_dispose_mapping(NO_IRQ) a nop 2006-10-25 14:20:20 +10:00
kprobes.c
l2cr_6xx.S
legacy_serial.c
lparcfg.c
lparmap.c
machine_kexec_32.c
machine_kexec_64.c
machine_kexec.c
Makefile [POWERPC] Souped-up of_platform_device support 2006-12-04 16:08:52 +11:00
misc_32.S [POWERPC] Consolidate feature fixup code 2006-10-25 11:42:10 +10:00
misc_64.S [POWERPC] Consolidate feature fixup code 2006-10-25 11:42:10 +10:00
misc.S
module_32.c [POWERPC] Support feature fixups in modules 2006-10-25 11:54:13 +10:00
module_64.c [POWERPC] Support feature fixups in modules 2006-10-25 11:54:13 +10:00
nvram_64.c
of_device.c [POWERPC] Souped-up of_platform_device support 2006-12-04 16:08:52 +11:00
of_platform.c [POWERPC] Souped-up of_platform_device support 2006-12-04 16:08:52 +11:00
paca.c
pci_32.c [POWERPC] Remove ppc_md.pci_map_irq & ppc_swizzle for ARCH=powerpc 2006-12-04 16:00:14 +11:00
pci_64.c [POWERPC] Make pci_read_irq_line the default 2006-12-04 16:00:04 +11:00
pci_direct_iommu.c
pci_dn.c
pci_iommu.c
pmc.c [POWERPC] Fix oprofile support for e500 in arch/powerpc 2006-11-01 14:52:48 +11:00
ppc32.h
ppc_ksyms.c [POWERPC] Lazy interrupt disabling for 64-bit machines 2006-10-16 16:31:36 +10:00
proc_ppc64.c
process.c [POWERPC] Better check in show_instructions 2006-10-16 15:53:30 +10:00
prom_init.c
prom_parse.c [POWERPC] Fix up the OF functions to only do PCI stuff if PCI is actually configured 2006-10-24 15:01:27 +10:00
prom.c Merge branch 'linux-2.6' into for-linus 2006-12-04 15:59:07 +11:00
ptrace32.c
ptrace-common.h
ptrace.c
rtas_flash.c [POWERPC] pseries: Force 4k update_flash block and list sizes 2006-11-10 21:35:36 +11:00
rtas_pci.c
rtas-proc.c
rtas-rtc.c
rtas.c
semaphore.c
setup_32.c Merge branch 'linux-2.6' into for-linus 2006-12-04 15:59:07 +11:00
setup_64.c Merge branch 'linux-2.6' into for-linus 2006-12-04 15:59:07 +11:00
setup-common.c
setup.h
signal_32.c
signal_64.c
smp-tbsync.c
smp.c [POWERPC] cell: add cpufreq driver for Cell BE processor 2006-10-25 14:20:22 +10:00
swsusp_32.S
sys_ppc32.c
syscalls.c
sysfs.c [POWERPC] sysfs: add support for adding/removing spu sysfs attributes 2006-10-25 14:20:22 +10:00
systbl.S
tau_6xx.c
time.c [POWERPC] Revert "[POWERPC] Add powerpc get/set_rtc_time interface to new generic rtc class" 2006-11-22 12:13:36 +11:00
traps.c [POWERPC] Make alignment exception always check exception table 2006-11-01 15:16:04 +11:00
udbg_16550.c
udbg.c
vdso.c [POWERPC] Support feature fixups in vdso's 2006-10-25 11:54:07 +10:00
vecemu.c
vector.S
vio.c [POWERPC] Use 4kB iommu pages even on 64kB-page systems 2006-11-01 14:52:48 +11:00
vmlinux.lds.S [PATCH] vmlinux.lds: consolidate initcall sections 2006-10-27 15:34:51 -07:00