lkml.org 
[lkml]   [2010]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH -mm 0/7] transforming the PCI DMA API into the generic device model
Date
This patchset transforms the PCI DMA API into the generic device
model. It's one of the reasons why we introduced the generic DMA API
long ago; driver writers are always able to use the generic DMA API
with any bus instead of using bus specific DMA APIs such as
pci_map_single, sbus_map_single, etc (only two bus specific APIs
exist now; pci and ssb).

Some of the PCI DMA API are already implented on the top of the
generic DMA API (include/asm-generic/pci-dma-compat.h). But there are
some exceptions. This patchset finishes the transformation.

=
Documentation/DMA-API.txt | 10 ++
arch/alpha/Kconfig | 1 +
arch/alpha/include/asm/dma-mapping.h | 79 ++++-------
arch/alpha/include/asm/pci.h | 125 +----------------
arch/alpha/kernel/pci-noop.c | 101 +++++--------
arch/alpha/kernel/pci_iommu.c | 201 ++++++++++++--------------
arch/arm/common/it8152.c | 27 ----
arch/arm/include/asm/dma-mapping.h | 8 +
arch/arm/mach-ixp4xx/common-pci.c | 26 ----
arch/arm/mach-ixp4xx/include/mach/hardware.h | 5 -
arch/arm/mach-pxa/include/mach/hardware.h | 1 -
arch/powerpc/include/asm/dma-mapping.h | 3 -
arch/powerpc/kernel/pci-common.c | 15 --
arch/sparc/include/asm/dma-mapping.h | 14 ++-
arch/sparc/kernel/iommu.c | 10 --
arch/sparc/kernel/ioport.c | 11 --
drivers/pci/pci.c | 31 ----
include/asm-generic/pci-dma-compat.h | 13 ++-
include/linux/dma-mapping.h | 8 +
include/linux/pci.h | 2 -
20 files changed, 214 insertions(+), 477 deletions(-)




\
 
 \ /
  Last update: 2010-02-12 10:39    [W:0.076 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site