linux/arch/powerpc/sysdev
Stephen Neuendorffer b786af117b [POWERPC] Refactor DCR code
Previously, DCR support was configured at compile time to either use
MMIO or native dcr instructions.  Although this works for most
platforms, it fails on FPGA platforms:

1) Systems may include more than one DCR bus.
2) Systems may be native DCR capable and still use memory mapped DCR interface.

This patch provides runtime support based on the device trees for the
case where CONFIG_PPC_DCR_MMIO and CONFIG_PPC_DCR_NATIVE are both
selected.  Previously, this was a poorly defined configuration, which
happened to provide NATIVE support.  The runtime selection is made
based on the dcr-controller having a 'dcr-access-method' attribute
in the device tree.  If only one of the above options is selected,
then the code uses #defines to select only the used code in order to
avoid introducing overhead in existing usage.

Signed-off-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
2008-05-29 07:06:56 -05:00
..
bestcomm [POWERPC] Fix Oops with TQM5200 on TQM5200 2008-03-24 17:55:51 +11:00
qe_lib [POWERPC] QE: fix sparse warnings 2008-04-17 01:01:39 -05:00
6xx-suspend.S [POWERPC] Add 6xx-style HID0_SLEEP support. 2008-05-16 23:22:28 +10:00
axonram.c return pfn from direct_access, for XIP 2008-04-28 08:58:23 -07:00
cpm1.c [POWERPC] CPM: Always use new binding. 2008-04-17 01:01:40 -05:00
cpm2.c [POWERPC] CPM: Always use new binding. 2008-04-17 01:01:40 -05:00
cpm2_pic.c
cpm2_pic.h
cpm_common.c [POWERPC] CPM: Always use new binding. 2008-04-17 01:01:40 -05:00
dart.h
dart_iommu.c [LIB]: Make PowerPC LMB code generic so sparc64 can use it too. 2008-02-13 16:56:49 -08:00
dcr-low.S
dcr.c [POWERPC] Refactor DCR code 2008-05-29 07:06:56 -05:00
fsl_lbc.c [POWERPC] fsl_lbc: implement few UPM routines 2008-04-17 01:01:38 -05:00
fsl_pci.c [POWERPC] FSL: Rework PCI/PCIe support for 85xx/86xx 2008-01-23 19:31:16 -06:00
fsl_pci.h
fsl_rio.c [RAPIDIO] fix current kernel-doc notation 2008-05-01 23:01:54 -05:00
fsl_soc.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2008-05-03 10:01:33 -07:00
fsl_soc.h powerpc: Add DIU platform code for MPC8610HPCD 2008-04-28 08:58:40 -07:00
grackle.c
i8259.c
indirect_pci.c
ipic.c [POWERPC] Fix crash in init_ipic_sysfs on efika 2008-03-24 17:55:00 +11:00
ipic.h
Kconfig [POWERPC] 4xx: PLB to PCI Express support 2007-12-23 13:12:34 -06:00
Makefile [POWERPC] Add 6xx-style HID0_SLEEP support. 2008-05-16 23:22:28 +10:00
micropatch.c [POWERPC] CPM: Rename commproc to cpm1 and cpm2_common.c to cpm2.c 2008-01-28 08:31:05 -06:00
mmio_nvram.c
mpc8xx_pic.c [POWERPC] arch/powerpc/sysdev: Add missing of_node_put 2008-02-06 22:06:59 +11:00
mpc8xx_pic.h
mpic.c Merge branch 'merge' into powerpc-next 2008-05-23 16:53:23 +10:00
mpic.h [POWERPC] pasemi: Implement NMI support 2007-12-28 09:22:24 -06:00
mpic_msi.c [POWERPC] sysdev/mpic_msi.c should include sysdev/mpic.h 2008-05-14 22:31:50 +10:00
mpic_pasemi_msi.c [POWERPC] mpic_pasemi_msi: Failed allocation unnoticed 2008-05-14 22:31:20 +10:00
mpic_u3msi.c [POWERPC] mpic_u3msi: Failed allocation unnoticed 2008-05-14 22:31:25 +10:00
mv64x60.h
mv64x60_dev.c [POWERPC] Create of_buses for MV64x60 devices 2008-05-14 22:31:41 +10:00
mv64x60_pci.c [POWERPC] mv64x60: Fix FDT compatible names: mv64x60 => mv64360 2008-04-15 21:21:24 +10:00
mv64x60_pic.c [POWERPC] mv64x60: Fix FDT compatible names: mv64x60 => mv64360 2008-04-15 21:21:24 +10:00
mv64x60_udbg.c [POWERPC] Fix mv64x60 early console code to use cell-index property 2008-04-24 20:57:34 +10:00
of_rtc.c [POWERPC] Enable RTC for Ebony and Walnut (v2) 2008-01-25 07:07:26 -06:00
pmi.c
ppc4xx_pci.c [POWERPC] 4xx: Add endpoint support to 4xx PCIe driver 2008-05-06 12:10:43 -05:00
ppc4xx_pci.h [POWERPC] 4xx: Add 460EX PCIe support to 4xx pci driver 2008-03-26 07:19:16 -05:00
ppc4xx_soc.c [POWERPC] 4xx: Create common ppc4xx_reset_system() in ppc4xx_soc.c 2008-04-02 20:44:56 -05:00
rtc_cmos_setup.c [POWERPC] Add MODULE_LICENSE to powerpc/sysdev/rtc_cmos_setup.c 2008-04-17 07:46:12 +10:00
tsi108_dev.c [POWERPC] Replace remaining __FUNCTION__ occurrences 2008-04-01 20:43:09 +11:00
tsi108_pci.c [POWERPC] Replace remaining __FUNCTION__ occurrences 2008-04-01 20:43:09 +11:00
uic.c [POWERPC] Use for_each macros in arch/powerpc/sysdev 2008-01-17 14:56:54 +11:00
xilinx_intc.c [POWERPC] Xilinx: Fix compile warnings 2008-05-01 23:09:42 -05:00