06 Jan, 2009

2 commits

  • We don't need dma operation hooks in struct ia64_machine_vector
    now. This also removes unused ia64_mv_dma_* typedefs.

    Signed-off-by: FUJITA Tomonori
    Acked-by: Tony Luck
    Signed-off-by: Ingo Molnar

    FUJITA Tomonori
     
  • 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
    Acked-by: Tony Luck
    Signed-off-by: Ingo Molnar

    FUJITA Tomonori
     

02 Aug, 2008

1 commit

  • After moving the the include files there were a few clean-ups:

    1) Some files used #include , changed to

    2) Some comments alerted maintainers to look at various header files to
    make matching updates if certain code were to be changed. Updated these
    comments to use the new include paths.

    3) Some header files mentioned their own names in initial comments. Just
    deleted these self references.

    Signed-off-by: Tony Luck

    Tony Luck