aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/ioport.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-08-27 21:01:36 -0400
committerDavid S. Miller <davem@davemloft.net>2008-08-29 05:13:14 -0400
commit944c67dff7a88f0a775e5b604937f9e30d2de555 (patch)
tree38566c48f3f002c3f1f9d77da3d8b12543bee1c7 /arch/sparc/kernel/ioport.c
parent260489fa8a9735c76073ace95f03ffaf10cca884 (diff)
sparc32: Implement more generic dma_*() interfaces.
These dispatch to either PCI or SBUS routines based upon the device bus type. This will allow us to let SBUS drivers call these routines. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/ioport.c')
-rw-r--r--arch/sparc/kernel/ioport.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/kernel/ioport.c b/arch/sparc/kernel/ioport.c
index 11dccf945153..0b3035978e0d 100644
--- a/arch/sparc/kernel/ioport.c
+++ b/arch/sparc/kernel/ioport.c
@@ -49,6 +49,8 @@
49#include <asm/iommu.h> 49#include <asm/iommu.h>
50#include <asm/io-unit.h> 50#include <asm/io-unit.h>
51 51
52#include "dma.h"
53
52#define mmu_inval_dma_area(p, l) /* Anton pulled it out for 2.4.0-xx */ 54#define mmu_inval_dma_area(p, l) /* Anton pulled it out for 2.4.0-xx */
53 55
54static struct resource *_sparc_find_resource(struct resource *r, 56static struct resource *_sparc_find_resource(struct resource *r,