linux/arch/ppc
Vitaly Bordug 75288c78c6 [PATCH] ppc32: Make platform devices being able to assign functions
Implemented by  modification of the .name field of the platform device,
when PDs with the
same names are to be used within different drivers, as
<device_name> -> <device_name>:<function>
Corresponding drivers should change the .name in struct device_driver to
reflect upper of course.

Added ppc_sys_device_disable/enable function set, making it easier to
disable all the inexistent/not utilized platform device way pdevs. By the
check of the "disabled" bit in the config field of ppc_sys_specs, disabled
platform devices will be either added/removed from the bus, or simply not
registered on it, depending on the time when disable/enable call asserted.

The default behaviour when nothing is disabled/enabled will be "all devices
are enabled", which is the same as before.

Also helper platform_notify_map function added, making assignment of
board-specific platform_info more consistent and generic.

Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com>
Signed-off-by: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-02-10 16:52:46 +11:00
..
4xx_io [PATCH] remove unused tmp_buf_sem's 2006-01-14 10:41:42 -08:00
8xx_io [PATCH] ppc32 8xx: Added setbitsXX/clrbitsXX macro for read-modify-write operations 2006-01-20 16:13:29 +11:00
8260_io [PATCH] ppc: fix-up schedule_timeout() usage 2005-11-07 07:53:56 -08:00
amiga [PATCH] m68k: kill mach_floppy_setup, convert to proper __setup() in drivers 2006-01-12 09:09:05 -08:00
boot [PATCH] powerpc: Add support for Xilinx ML403 reference design 2006-02-07 22:36:01 +11:00
configs [PATCH] powerpc: Add ML403 defconfig 2006-02-07 22:36:02 +11:00
kernel [PATCH] powerpc/ppc: Add missing isyncs in head_fsl_booke.S 2006-02-10 16:52:00 +11:00
lib ppc32: use L1_CACHE_SHIFT/L1_CACHE_BYTES 2005-10-17 11:50:32 +10:00
math-emu [PATCH] powerpc: Fix handling of fpscr on 64-bit 2005-10-27 20:48:50 +10:00
mm [PATCH] powerpc: generalize PPC44x_PIN_SIZE 2006-01-20 16:13:50 +11:00
platforms Merge ../powerpc-merge 2006-02-10 16:51:29 +11:00
syslib [PATCH] ppc32: Make platform devices being able to assign functions 2006-02-10 16:52:46 +11:00
xmon [PATCH] ppc: Remove powermac support from ARCH=ppc 2006-01-15 17:30:44 +11:00
Kconfig [PATCH] ppc32: MPC885ADS, MPC866ADS and MPC8272ADS-specific platform stuff for fs_enet 2006-02-07 22:36:33 +11:00
Kconfig.debug [PATCH] powerpc: Migrate ML300 reference design to the platform bus 2006-02-07 22:35:59 +11:00
Makefile kbuild: remove GCC_VERSION 2006-01-08 19:58:51 +01:00