android_kernel_xiaomi_sm8350/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
cpc700_pic.c
cpc700.h
cpc710.h
cpm2_common.c
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
harrier.c
hawk_common.c
ibm44x_common.c
ibm44x_common.h
ibm440gp_common.c
ibm440gp_common.h
ibm440gx_common.c
ibm440gx_common.h
ibm440sp_common.c
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
m8260_pci_erratum9.c
m8260_setup.c
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
mpc52xx_devices.c
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
mv64x60_win.c
mv64x60.c [PATCH] mv643xx_eth: Fix for building as a module 2006-01-27 11:09:24 -05:00
mv64360_pic.c
ocp.c [PATCH] fix breakage in ocp.c 2006-02-07 20:56:57 -05:00
open_pic2.c
open_pic_defs.h
open_pic.c
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
ppc4xx_setup.c
ppc4xx_sgdma.c
ppc8xx_pic.c
ppc8xx_pic.h
ppc83xx_pci.h
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
ppc85xx_rio.h
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
ppc405_pci.c
ppc440spe_pcie.c
ppc440spe_pcie.h
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
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
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