linux/arch/powerpc/platforms/powermac
Daniel Axtens 798248a3c0 powerpc: dart_iommu: optionally populate controller_ops on init
If a pci_controller_ops struct is provided to iommu_init_early_dart,
populate that with the DMA setup ops, rather than ppc_md. If NULL is
provided, populate ppc_md as before.

This also patches the call sites for Maple and Power Mac to pass
NULL, so existing behaviour is preserved.

The benefit of making this optional is that it means we don't have
to change dart, Maple and Power Mac over to the controller_ops
system in one fell swoop.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2015-04-11 20:49:14 +10:00
..
backlight.c powerpc: add export.h to files making use of EXPORT_SYMBOL 2011-10-31 19:30:37 -04:00
bootx_init.c powerpc/powermac: Cleaning up missing null-terminate in conjunction with strncpy 2015-03-17 15:55:52 +11:00
cache.S
feature.c The branch contains the following device tree changes the v3.17 merge 2014-08-14 09:53:39 -06:00
Kconfig powerpc: Remove CONFIG_POWER4 2014-07-28 14:10:26 +10:00
low_i2c.c tree-wide: use reinit_completion instead of INIT_COMPLETION 2013-11-15 09:32:21 +09:00
Makefile cpufreq: powerpc: move cpufreq driver to drivers/cpufreq 2013-06-07 13:44:39 +02:00
nvram.c powerpc: Remove more traces of bootmem 2014-11-19 21:41:51 +11:00
pci.c powerpc: pcibios_enable_device_hook: return bool rather than int 2015-04-11 20:49:10 +10:00
pfunc_base.c powerpc: add explicit OF includes 2013-10-09 20:04:11 -05:00
pfunc_core.c powerpc: Delete non-required instances of include <linux/init.h> 2014-01-15 13:46:44 +11:00
pic.c powerpc/pmac: Fix DT refcount imbalance in pmac_pic_probe_oldstyle 2015-03-25 16:53:27 +11:00
pmac.h powerpc: pcibios_enable_device_hook: return bool rather than int 2015-04-11 20:49:10 +10:00
setup.c powerpc: dart_iommu: optionally populate controller_ops on init 2015-04-11 20:49:14 +10:00
sleep.S powerpc/mm: Introduce MMU features 2008-12-21 14:21:16 +11:00
smp.c powerpc: Drop return value of smp_ops->probe() 2015-04-10 20:02:49 +10:00
time.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
udbg_adb.c of: Migrate of_find_node_by_name() users to for_each_node_by_name() 2014-06-26 17:12:24 +01:00
udbg_scc.c of: add 'of_' prefix to machine_is_compatible() 2010-02-09 08:33:00 -07:00