01 Nov, 2011

1 commit


10 Aug, 2009

5 commits

  • All we need to do for CONFIG_DMA_API_DEBUG support is call
    dma_debug_init() in DMA code common for SPARC32 and SPARC64.

    Now SPARC32 uses two dma_map_ops structures for pci and sbus so
    there is not much dma stuff for SPARC32 in kernel/dma.c.
    kernel/ioport.c also includes dma stuff for SPARC32. So let's
    put all the dma stuff for SPARC32 in kernel/ioport.c and make
    kernel/dma.c common for SPARC32 and SPARC64.

    Signed-off-by: FUJITA Tomonori
    Tested-by: Robert Reif
    Acked-by: David S. Miller
    Cc: tony.luck@intel.com
    Cc: fenghua.yu@intel.com
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    FUJITA Tomonori
     
  • This converts SPARC to use asm-generic/pci-dma-compat instead
    of the homegrown mechnism.

    SPARC32 has two dma_map_ops structures for pci and sbus
    (removing arch/sparc/kernel/dma.c, PCI and SBUS DMA accessor).
    The global 'dma_ops' is set to sbus_dma_ops and get_dma_ops()
    returns pci32_dma_ops for pci devices so we can use the
    appropriate dma mapping operations.

    Signed-off-by: FUJITA Tomonori
    Tested-by: Robert Reif
    Acked-by: David S. Miller
    Cc: tony.luck@intel.com
    Cc: fenghua.yu@intel.com
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    FUJITA Tomonori
     
  • This is a preparation for using asm-generic/pci-dma-compat.h;
    SPARC32 has two dma_map_ops structures for pci and sbus
    (removing arch/sparc/kernel/dma.c, PCI and SBUS DMA accessor).

    Signed-off-by: FUJITA Tomonori
    Tested-by: Robert Reif
    Acked-by: David S. Miller
    Cc: tony.luck@intel.com
    Cc: fenghua.yu@intel.com
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    FUJITA Tomonori
     
  • Signed-off-by: FUJITA Tomonori
    Tested-by: Robert Reif
    Acked-by: David S. Miller
    Cc: tony.luck@intel.com
    Cc: fenghua.yu@intel.com
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    FUJITA Tomonori
     
  • Signed-off-by: FUJITA Tomonori
    Tested-by: Robert Reif
    Acked-by: David S. Miller
    Cc: tony.luck@intel.com
    Cc: fenghua.yu@intel.com
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    FUJITA Tomonori
     

16 Jun, 2009

2 commits


29 Aug, 2008

1 commit