kernel_optimize_test/arch/powerpc
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
..
boot Merge branch 'linux-2.6' into for-linus 2006-12-04 15:59:07 +11:00
configs Merge branch 'linux-2.6' into for-linus 2006-12-04 15:59:07 +11:00
kernel [POWERPC] Souped-up of_platform_device support 2006-12-04 16:08:52 +11:00
lib [POWERPC] Disallow kprobes on emulate_step and branch_taken 2006-11-01 15:14:12 +11:00
math-emu [POWERPC] ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c 2006-09-26 15:24:35 +10:00
mm Merge branch 'linux-2.6' into for-linus 2006-12-04 15:59:07 +11:00
oprofile [POWERPC] Fix oprofile support for e500 in arch/powerpc 2006-11-01 14:52:48 +11:00
platforms [POWERPC] Souped-up of_platform_device support 2006-12-04 16:08:52 +11:00
sysdev [POWERPC] Improve MPIC driver auto-configuration from DT 2006-12-04 16:08:41 +11:00
xmon [POWERPC] add support for dumping spu info from xmon 2006-10-25 14:20:22 +10:00
Kconfig [POWERPC] Native cell support for MPIC in southbridge 2006-12-04 16:08:46 +11:00
Kconfig.debug [POWERPC] print backtrace when entering xmon 2006-09-13 18:39:53 +10:00
Makefile [POWERPC] Create a "wrapper" script and use it in arch/powerpc/boot 2006-09-28 14:30:02 +10:00