Files
linux-apfs/arch/ia64/kernel
FUJITA Tomonori 4d9b977ca6 set up dma_ops appropriately
This patch introduces a global pointer, dma_ops, which points to an
appropriate dma_mapping_ops that the kernel should use. This is a
common way to handle multiple dma_mapping_ops (X86, POWER, and SPARC).

dma_ops is set in platform_dma_init. We also set it by hand where
machvec_init is callev via subsys_initcall.

- IA64_DIG_VTD uses vtd_dma_ops.
- IA64_HP_ZX1 uses sba_dma_ops.
- IA64_HP_ZX1_SWIOTLB uses hwsw_dma_ops.
- IA64_SGI_SN2 uses sn_dma_ops.
- The rest use swiotlb_dma_ops.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-01-06 14:06:50 +01:00
..
2008-04-22 08:56:38 -07:00
2009-01-06 14:06:50 +01:00
2008-04-17 10:14:51 -07:00
2007-12-07 14:28:02 -08:00
2008-04-17 10:42:34 -04:00
2008-12-31 18:07:42 -05:00
2009-01-06 14:06:50 +01:00
2008-02-04 15:42:06 -08:00
2008-02-04 15:42:06 -08:00
2008-04-08 13:51:35 -07:00
2008-05-27 13:24:39 -07:00
2009-01-06 14:06:50 +01:00
2009-01-06 14:06:50 +01:00
2008-10-17 13:51:28 -07:00
2008-10-06 10:43:06 -07:00
2008-07-24 10:47:28 -07:00
2008-12-31 15:11:46 +01:00