android_kernel_samsung_msm8976/arch/powerpc/platforms/powermac
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
..
backlight.c Merge branch 'merge' 2006-08-01 10:37:25 +10:00
bootx_init.c [POWERPC] Fix BootX booting with an initrd 2006-08-23 15:51:18 +10:00
cache.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cpufreq_32.c [POWERPC] powermac: Constify & voidify get_property() 2006-07-31 15:55:05 +10:00
cpufreq_64.c [PATCH] completions: lockdep annotate on stack completions 2006-10-01 00:39:24 -07:00
feature.c [PATCH] Fix compile warnings with CONFIG_PM=n 2006-11-13 14:49:00 +11:00
low_i2c.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
Makefile [PATCH] 3/5 powerpc: Add platform functions interpreter 2006-01-09 15:47:18 +11:00
nvram.c [PATCH] completions: lockdep annotate on stack completions 2006-10-01 00:39:24 -07:00
pci.c [POWERPC] Make pci_read_irq_line the default 2006-12-04 16:00:04 +11:00
pfunc_base.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
pfunc_core.c [POWERPC] powermac: Constify & voidify get_property() 2006-07-31 15:55:05 +10:00
pic.c [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
pic.h [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
pmac.h [POWERPC] Make pci_read_irq_line the default 2006-12-04 16:00:04 +11:00
setup.c [POWERPC] Souped-up of_platform_device support 2006-12-04 16:08:52 +11:00
sleep.S [POWERPC] Fix build breakage with CONFIG_PPC32 2006-10-23 18:23:17 +10:00
smp.c [POWERPC] Fix secondary CPU startup on old "powersurge" SMP powermacs 2006-10-10 13:51:00 +10:00
time.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
udbg_adb.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
udbg_scc.c [POWERPC] Get default baud rate in udbg_scc 2006-10-04 14:52:31 +10:00