linux/arch/ia64/sn/pci
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
..
pcibr Remove pointless casts from void pointers 2008-02-06 10:41:01 -08:00
Makefile ia64: fix sn to add include files using EXTRA_CFLAGS 2007-10-12 21:15:31 +02:00
pci_dma.c set up dma_ops appropriately 2009-01-06 14:06:50 +01:00
tioca_provider.c [IA64] arch/ia64/sn/pci/tioca_provider.c: introduce missing kfree 2008-09-10 10:49:36 -07:00
tioce_provider.c [IA64] minor irq handler cleanups 2008-04-22 08:56:58 -07:00