1
linux/arch/ppc/syslib
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
..
btext.c [PATCH] powerpc: Remove sections use from ppc 2005-09-19 09:38:49 +10:00
cpc700_pic.c [PATCH] PPC: C99 initializers for hw_interrupt_type structures 2005-09-10 10:06:27 -07:00
cpc700.h
cpc710.h
cpm2_common.c [PATCH] ppc32: Add proper prototype for cpm2_reset() 2005-07-27 16:25:55 -07:00
cpm2_pic.c [PATCH] ppc32: fix PQ2 PCI DMA interrupt handling 2005-11-11 22:19:56 +11:00
cpm2_pic.h
gen550_dbg.c
gen550_kgdb.c
gen550.h
gt64260_pic.c ppc: Various minor compile fixes 2005-10-11 22:08:12 +10:00
harrier.c
hawk_common.c
ibm44x_common.c [PATCH] ppc32: Add missing initrd header on ppc440 2005-11-07 07:53:27 -08:00
ibm44x_common.h [PATCH] ppc32: Cleanup AMCC PPC44x eval board U-Boot support 2005-10-29 13:55:39 +10:00
ibm440gp_common.c
ibm440gp_common.h
ibm440gx_common.c [PATCH] ppc32: make cur_cpu_spec a single pointer instead of an array 2005-09-28 15:42:54 +10:00
ibm440gx_common.h
ibm440sp_common.c [PATCH] ppc32: Add 440SPe support 2005-11-07 07:53:26 -08:00
ibm440sp_common.h
ibm_ocp.c
m8xx_setup.c [PATCH] PPC32 8xx: support for the physmapped flash on m8xx 2006-01-20 16:13:55 +11:00
m8xx_wdt.c [PATCH] ppc32 8xx: Added setbitsXX/clrbitsXX macro for read-modify-write operations 2006-01-20 16:13:29 +11:00
m8xx_wdt.h [PATCH] ppc32: m8xx watchdog update 2006-01-09 14:50:51 +11:00
m82xx_pci.c [PATCH] ppc32: Fix incorrect PCI frequency value 2005-12-01 15:48:56 -08:00
m82xx_pci.h [PATCH] ppc32: Support for 82xx PQII on-chip PCI bridge 2005-05-28 16:46:15 -07:00
m8260_pci_erratum9.c [PATCH] ppc32: Support for 82xx PQII on-chip PCI bridge 2005-05-28 16:46:15 -07:00
m8260_setup.c [PATCH] ppc32: ppc_sys fixes for 8xx and 82xx 2005-10-29 14:49:29 +10:00
Makefile [PATCH] powerpc: Migrate ML300 reference design to the platform bus 2006-02-07 22:35:59 +11:00
mpc8xx_devices.c [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
mpc8xx_sys.c [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
mpc10x_common.c [SERIAL] Use an enum for serial8250 platform device IDs 2005-09-08 16:04:41 +01:00
mpc52xx_devices.c Create platform_device.h to contain all the platform device details. 2005-10-29 19:07:23 +01:00
mpc52xx_pci.c [PATCH] ppc32: Fix MPC52xx PCI init in cas the bootloader didn't do it 2006-01-06 08:33:31 -08:00
mpc52xx_pci.h
mpc52xx_pic.c
mpc52xx_setup.c [PATCH] ppc32: Fix static IO mapping for Freescale MPC52xx 2006-01-06 08:33:31 -08:00
mpc52xx_sys.c
mpc83xx_devices.c [PATCH] powerpc: Updated platforms that use gianfar to match driver 2006-01-13 21:16:18 +11:00
mpc83xx_sys.c [PATCH] ppc: Fix MPC83xx device table 2005-11-18 13:31:37 +11:00
mpc85xx_devices.c [PATCH] powerpc: Updated platforms that use gianfar to match driver 2006-01-13 21:16:18 +11:00
mpc85xx_sys.c [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
mv64x60_dbg.c ppc: Various minor compile fixes 2005-10-11 22:08:12 +10:00
mv64x60_win.c [PATCH] ppc32: remove some unnecessary includes of bootmem.h 2005-06-25 16:24:27 -07:00
mv64x60.c [PATCH] mv643xx_eth: Fix for building as a module 2006-01-27 11:09:24 -05:00
mv64360_pic.c ppc: Various minor compile fixes 2005-10-11 22:08:12 +10:00
ocp.c [PATCH] fix breakage in ocp.c 2006-02-07 20:56:57 -05:00
open_pic2.c Merge from Linus' tree 2005-10-12 14:43:32 +10:00
open_pic_defs.h
open_pic.c ppc: Minor smp changes for consistency with ppc64 2005-10-19 21:44:51 +10:00
pci_auto.c
ppc4xx_dma.c [PATCH] ppc: ppc4xx_dma DMA_MODE_{READ,WRITE} fix 2005-12-16 14:43:05 -08:00
ppc4xx_pic.c [PATCH] ppc32: Add 440SPe support 2005-11-07 07:53:26 -08:00
ppc4xx_setup.c Merge from Linus' tree 2005-10-12 14:43:32 +10:00
ppc4xx_sgdma.c
ppc8xx_pic.c [PATCH] ppc32 8xx: use io accessor macros instead of direct memory reference 2005-10-29 13:55:27 +10:00
ppc8xx_pic.h
ppc83xx_pci.h [PATCH] ppc32: Added PCI support MPC83xx 2005-09-05 00:05:59 -07:00
ppc83xx_setup.c [SERIAL] uart_port iotype member should use UPIO_* 2006-02-05 10:48:10 +00:00
ppc83xx_setup.h [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
ppc85xx_common.c [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
ppc85xx_common.h [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
ppc85xx_rio.c [PATCH] rapidio: message interface updates 2005-11-07 07:53:47 -08:00
ppc85xx_rio.h [PATCH] RapidIO support: ppc32 2005-11-07 07:53:47 -08:00
ppc85xx_setup.c [SERIAL] uart_port iotype member should use UPIO_* 2006-02-05 10:48:10 +00:00
ppc85xx_setup.h [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
ppc403_pic.c ppc: Various minor compile fixes 2005-10-11 22:08:12 +10:00
ppc405_pci.c [PATCH] ppc32: Remove internal PCI arbiter check on PPC40x 2005-11-07 07:53:27 -08:00
ppc440spe_pcie.c [PATCH] ppc32: Add 440SPe support 2005-11-07 07:53:26 -08:00
ppc440spe_pcie.h [PATCH] ppc32: Add 440SPe support 2005-11-07 07:53:26 -08:00
ppc_sys.c [PATCH] ppc32: Make platform devices being able to assign functions 2006-02-10 16:52:46 +11:00
pq2_devices.c [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
pq2_sys.c [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
prep_nvram.c [PATCH] powerpc: Remove sections use from ppc 2005-09-19 09:38:49 +10:00
prom_init.c [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
prom.c [PATCH] ppc: Remove powermac support from ARCH=ppc 2006-01-15 17:30:44 +11:00
qspan_pci.c [PATCH] more SPIN_LOCK_UNLOCKED -> DEFINE_SPINLOCK conversions 2005-09-09 14:03:48 -07:00
todc_time.c
xilinx_pic.c [PATCH] powerpc: Move xparameters.h into xilinx virtex device specific path 2006-02-07 22:35:35 +11:00